Commit e690802dcfc4c7133fa98ea8aebe850154046b85

Authored by AntonioTerceiro
1 parent 987349f8

r276@sede: terceiro | 2007-07-30 00:11:38 -0300

ActionItem0: forving removal of sqlite databases in reset_db
 


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@280 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 4 additions and 2 deletions   Show diff stats
script/reset_db
1 #!/bin/sh 1 #!/bin/sh
2 2
3 -rake db:migrate VERSION=0  
4 -rake db:migrate 3 +rm tmp/*.db
  4 +
  5 +rake db:migrate VERSION=0 &&
  6 +rake db:migrate &&
5 rake db:fixtures:load 7 rake db:fixtures:load