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 | |
set -e | |
CURRENT_NAME="OldName" | |
CURRENT_OTP="old_name" | |
NEW_NAME="NewName" | |
NEW_OTP="new_name" |
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
Get notifications when there are migrations that need to be run in a Rails project: | |
https://img.skitch.com/20110418-c9y3ttap3tai7frc43f38qtb8e.jpg | |
In your Rails project edit the .git/config file to add the following: | |
[rails] | |
automigrate = false | |
automigrateforegroundcolor = yellow | |
automigratebackgroundcolor = black |