mix ecto.load (Ecto SQL v3.7.1) View Source
Loads the current environment's database structure for the given repository from a previously dumped structure file.
The repository must be set under
:ecto_repos in the
current app configuration or given via the
This task needs some shell utility to be present on the machine running the task.
$ mix ecto.load
--repo- the repo to load the structure info into
--dump-path- the path of the dump file to load from
--quiet- run the command quietly
--force- do not ask for confirmation when loading data. Configuration is asked only when
:start_permanentis set to true (typically in production)
--no-compile- does not compile applications before loading
--no-deps-check- does not check dependencies before loading
--skip-if-loaded- does not load the dump file if the repo has the migrations table up