Mix.Tasks.Ecto.Drop

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部