Pillar.MigrationsMacro (Pillar v0.30.0) View Source

Migration's mechanism

For generation migration files use task Mix.Tasks.Pillar.Gen.Migration

For launching migration define own mix task or release task with code below:

conn = Pillar.Connection.new(connection_string)
Pillar.Migrations.migrate(conn)