Ecto SQL v3.3.2 mix ecto.load 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.
--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 depedendencies before loading
--skip-if-loaded- does not load the dump file if the repo has the migrations table up