mix ecto.load — Ecto SQL v3.12.1 (original) (raw)

View Source mix ecto.load (Ecto SQL v3.12.1)

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 -r option.

This task needs some shell utility to be present on the machine running the task.

Database Utility needed
PostgreSQL psql
MySQL mysql

Example

$ mix ecto.load

Command line options