Commit 73f1004a4ba641f0035718d4b08d8c3d21aeb05f

Authored by AntonioTerceiro
1 parent 06fc8867

ActionItem135: cleaning attachment space for articles



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1174 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
script/reset_db
@@ -3,6 +3,7 @@ require File.dirname(__FILE__) + '/../config/environment' @@ -3,6 +3,7 @@ require File.dirname(__FILE__) + '/../config/environment'
3 3
4 system "rm #{RAILS_ROOT}/tmp/*.db" 4 system "rm #{RAILS_ROOT}/tmp/*.db"
5 system "rm #{RAILS_ROOT}/db/*.db" 5 system "rm #{RAILS_ROOT}/db/*.db"
  6 +system "rm -rf #{RAILS_ROOT}/public/articles"
6 system "rake db:migrate VERSION=0" 7 system "rake db:migrate VERSION=0"
7 system "rake db:migrate" 8 system "rake db:migrate"
8 system "#{RAILS_ROOT}/script/anhetegua" 9 system "#{RAILS_ROOT}/script/anhetegua"