W3cubDocs

/Phoenix

Mix.Tasks.Ecto.Drop

Drop 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.drop
mix ecto.drop -r Custom.Repo

Command line options

  • -r, --repo - the repo to drop
  • --no-compile - do not compile before stopping

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