Mix.Tasks.Ecto.Gen.Migration

Generates a migration for the given repository.

Command line options

Examples

mix ecto.gen.migration MyApp.Repo add_posts_table

By default, the migration will be generated to the "priv/repo/migrations" directory of the current application but it can be configured by specify the :priv key under the repository configuration.

Source

Summary

run(args)

Callback implementation of Mix.Task.run/1

Functions

run(args)

Callback implementation of Mix.Task.run/1.

Source