Created
May 22, 2015 22:13
-
-
Save dhoss/72586b1a1078fb851cc7 to your computer and use it in GitHub Desktop.
play-slick db setup
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
if [ "$STEEL_TEST_LOCAL" == "1" ]; then | |
echo "DROPPING DBs"; | |
psql -Upostgres -c "drop table exercise; drop table person; drop table exercise_type; drop table schema_history ;" -d steel_test; | |
fi | |
sbt -Dflyway.user=steel_test -Dflyway.password=test -Dflyway.url=jdbc:postgresql:steel_test flywayMigrate | |
sbt +test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment