Mix.Tasks.Ecto.Gen.Repo

Mix.Tasks.Ecto.Gen.Repo

Generates a new repository.

The repository will be placed in the lib directory.

Examples

mix ecto.gen.repo -r Custom.Repo

This generator will automatically open the config/config.exs after generation if you have ECTO_EDITOR set in your environment variable.

Command line options

  • -r, --repo - the repo to generate

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部