condo v0.1.3 mix condo.gen.migration View Source
Generates a migration for the tenants. Please ensure that you have set
:migration_namespace
for Condo as well.
The repository must be set under :ecto_repos
in the current app
configuration or given via the -r
option.
By default, the migration will be generated in the namespace you have provided.
Examples
mix condo.gen.migration create_posts
mis condo.gen.migration create_posts -r Custom.Repo
Command line options
-r
,--repo
- the repo to generate migration for