We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a24a6d + 6069a09 commit 5524b43Copy full SHA for 5524b43
bin/git_rails
@@ -19,7 +19,7 @@ if [ ! -z "$bundle_changed" ]; then
19
bundle
20
fi
21
22
-migrations=`git diff --name-status $old_ref $new_ref -- db/migrate`
+migrations=`git diff --name-status $old_ref $new_ref -- db/migrate | grep '^[AD]'`
23
if [ ! -z "$migrations" ]; then
24
echo "Running migrations!"
25
for migration in $migrations
0 commit comments