Skip to content

Instantly share code, notes, and snippets.

@r8
Created February 21, 2017 23:10
Show Gist options
  • Save r8/2587c52776d5398c764634f6de1d4910 to your computer and use it in GitHub Desktop.
Save r8/2587c52776d5398c764634f6de1d4910 to your computer and use it in GitHub Desktop.
Phoenix migrations
Ecto.Migrator.run(MyApp.Repo, Path.join(["#{:code.priv_dir(:my_app)}", "repo", "migrations"]), :up, all: true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment