Ecto v2.0.2 Mix.Tasks.Ecto.Load
Loads the current environment’s database structure for the given repositoru from a previously dumped structure file.
The repository must be set under :ecto_repos
in the
current app configuration or given via the -r
option.
Example
mix ecto.load
Command line options
-r
,--repo
- the repo to load the structure info into-d
,--dump-path
- the path of the dump file to load from