Last active
April 30, 2020 18:33
-
-
Save skunkworker/974a204c729a48e08c279a137c4a113a to your computer and use it in GitHub Desktop.
Bump rails migration timestamp
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
alias bump_migration='rename -i -v "s/(\d{14})/$(date +'%Y%m%d%H%M%S')/" $1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment