Skip to content

Instantly share code, notes, and snippets.

@roylarsen
Created June 4, 2019 00:35
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 roylarsen/80eb8c536b1d391c0a18992a4b669263 to your computer and use it in GitHub Desktop.
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