ExOauth2Provider v0.3.1 mix ex_oauth2_provider.install View Source
Generates migrations.
The repository must be set under :ecto_repos
in the
current app configuration or given via the -r
option.
Example
mix ex_oauth2_provider.install
By default, the migration will be generated to the
“priv/YOUR_REPO/migrations” directory of the current application
but it can be configured to be any subdirectory of priv
by
specifying the :priv
key under the repository configuration.
Command line options
-r
,--repo
- the repo to generate migration for--config-file
- the configuration file to update--resource-owner
- defines the resource owner, default is MyApp.User--no-config
— Don’t append to yourconfig/config.exs
file.--no-migrations
— Don’t add migrations.--uuid
— Use UUID for the following comma separated tables, useall
if your database doesn’t have auto incremental integer support