Commit b17ece16cf45c8834ecb338b9c83e592c6eb2504
1 parent
89a33e72
Exists in
master
and in
29 other branches
Cleanup the db/schema.rb file before upgrade
It is always updated by rake db:migrate
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
script/git-upgrade
@@ -46,6 +46,10 @@ start_service(){ | @@ -46,6 +46,10 @@ start_service(){ | ||
46 | 46 | ||
47 | upgrade_code(){ | 47 | upgrade_code(){ |
48 | say "Upgrading code" | 48 | say "Upgrading code" |
49 | + | ||
50 | + # db:migrate always changes this | ||
51 | + git checkout db/schema.rb | ||
52 | + | ||
49 | git pull | 53 | git pull |
50 | rake makemo | 54 | rake makemo |
51 | } | 55 | } |