Last active
May 23, 2017 23:38
-
-
Save yeongsheng-tan/69c0c0ee811f572442eb8b62df4c1c7c to your computer and use it in GitHub Desktop.
Sample DB migration script that uses `bin/<release_name> command <my_mix_MFA_task>`
This file contains 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
#!/usr/bin/env sh | |
# File is located in my_app/priv/commands/my_db_migrate.sh | |
echo "In script" | |
echo $SCRIPT | |
"${SCRIPT}" command Elixir.MyApp.ReleaseTasks migrate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment