-
-
Save Diamond/edbc5a3a101c1b30c685 to your computer and use it in GitHub Desktop.
How to run Ecto migrations from an exrm release
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./bin/turbo rpc Elixir.Ecto.Storage up "['Elixir.Turbo.Repo']." | |
./bin/my_app rpc Elixir.Mix.Ecto migrations_path "['Elixir.MyApp.Repo']." | |
# => <<"/opt/my_app/production/rel/my_app/lib/my_app-0.0.1/priv/repo/migrations">> | |
./bin/my_app rpc Elixir.Ecto.Migrator run "['Elixir.MyApp.Repo', <<\"/opt/my_app/production/rel/my_app/lib/my_app-0.0.1/priv/repo/migrations\">>, up, [{all, true}]]." | |
# => [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment