W3cubDocs

/Phoenix

Mix.Tasks.Ecto.Dump

Dumps the current environment’s database structure for the given repository into a structure file.

The repository must be set under :ecto_repos in the current app configuration or given via the -r option.

Example

mix ecto.dump

Command line options

  • -r, --repo - the repo to load the structure info from
  • -d, --dump-path - the path of the dump file to create

Summary

Functions

run(args)

Callback implementation for c:Mix.Task.run/1

Functions

run(args)

Callback implementation for c:Mix.Task.run/1.

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/ecto/Mix.Tasks.Ecto.Dump.html