Last active
August 24, 2020 22:21
-
-
Save MarkyMarkMcDonald/d72219b455bb2f689126 to your computer and use it in GitHub Desktop.
Create Flyway migration versioned by timestamp: ./bin/create_migration.sh "Add_Unique_Constraint_To_User_Email"
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
#!/bin/bash | |
echo "-- New Migration" > "`dirname $0`/../src/main/resources/db/migrations/V`date +%s`__$1.sql" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment