Skip to content

Instantly share code, notes, and snippets.

@schainks
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schainks/4bd07fec370cab4b5661 to your computer and use it in GitHub Desktop.
Save schainks/4bd07fec370cab4b5661 to your computer and use it in GitHub Desktop.
Running migration in Elixir console from a compiled OTP app

Ecto.Migrator.run(Echo.Repo, "lib/<app_name>-<app_version>/priv/repo/migrations/", :up, [all: true])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment