mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
RS, DG; DB purge now deletes tmp folder
This commit is contained in:
@@ -27,6 +27,9 @@ namespace :db do
|
||||
# Specifiy what models to remove
|
||||
# No! Drop the fucking database.
|
||||
MongoMapper::connection.drop_database(MongoMapper::database.name)
|
||||
|
||||
puts 'Deleting tmp folder...'
|
||||
`rm -rf #{File.dirname(__FILE__)}/../../public/uploads/tmp`
|
||||
end
|
||||
|
||||
desc 'Purge and seed the current RAILS_ENV database using information from db/seeds.rb'
|
||||
|
||||
Reference in New Issue
Block a user