Skip to content

Instantly share code, notes, and snippets.

@roylarsen
Created June 4, 2019 00:35
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save roylarsen/80eb8c536b1d391c0a18992a4b669263 to your computer and use it in GitHub Desktop.
Migration Shell Script
#!/bin/bash
flyway migrate -url=$SQLINSTANCE -configFile=/flyway/conf/base-flyway.conf -user=$USER -password=$PASSWORD
flyway migrate -url=$SQLINSTANCE\;database=ejabberd -configFile=/flyway/conf/ejabberd-flyway.conf -user=$USER -password=$PASSWORD
flyway migrate -url=$SQLINSTANCE\;database=heartbeat -configFile=/flyway/conf/heartbeat-flyway.conf -user=$USER -password=$PASSWORD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment