Ecto v2.0.2 Mix.Tasks.Ecto.Create

Create the storage for the given repository.

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

Examples

mix ecto.create
mix ecto.create -r Custom.Repo

Command line options

  • -r, --repo - the repo to create
  • --no-compile - do not compile before creating
  • --quiet - do not log output