guardian_trackable v0.1.0 mix guardian_trackable.install

Generates a migration.

The repository must be set under :ecto_repos in the current app configuration or given via the -r option.

This generator follows the functionality of ecto.gen.migration, so it will be created in the configured migration direction with a timestamp-prefixed filename.

Examples

mix guardian_trackable.install
mix guardian_trackable.install -r Custom.Repo
mix guardian_trackable.install --schema accounts

Command line options

  • -r, --repo - the repo to generate migration for
  • --schema - the schema to generate migration for