Commit 468b299ee2a7fbf75fb7cf383c0ce5004362e556

Authored by Antonio Terceiro
1 parent b81f804d

script/development: fail on pending migrations

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
script/development
1 1 #!/bin/sh
2 2  
  3 +set -e
  4 +
3 5 export RAILS_ENV=development
4 6  
5 7 stop() {
... ... @@ -9,6 +11,7 @@ stop() {
9 11 }
10 12  
11 13 start() {
  14 + rake db:abort_if_pending_migrations
12 15 ./script/feed-updater start
13 16 ./script/delayed_job start
14 17 trap stop INT TERM
... ...