W3cubDocs

/Phoenix

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

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/ecto/Mix.Tasks.Ecto.Create.html