Fix migrate.rake
This commit is contained in:
parent
1357124f6f
commit
ceff21fd1f
|
@ -320,6 +320,7 @@ namespace :migrate do
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
task :clear_news_tags => :environment do
|
||||
`mongo #{Mongoid.config.database.name} --eval "db.tags.remove({_type: {$ne: 'Tag'}})"`
|
||||
|
|
Loading…
Reference in New Issue