-
-
Save nikhilatjumpcut/685ef53b6f237cb5ee6ecdb8b02ace72 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