Mix.Tasks.Ecto.Gen.Repo
Generates a new repository.
The repository will be placed in the lib
directory.
Examples
mix ecto.gen.repo
mix ecto.gen.repo -r Custom.Repo
Command line options
-r
,--repo
- the repo to generate (defaults toYourApp.Repo
)