mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 16:37:06 +02:00
Don't pass conditions to #destroy_all.
git-svn-id: http://svn.redmine.org/redmine/trunk@15676 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -11,6 +11,6 @@ class InsertBuiltinRoles < ActiveRecord::Migration
|
||||
end
|
||||
|
||||
def self.down
|
||||
Role.destroy_all 'builtin <> 0'
|
||||
Role.where('builtin <> 0').destroy_all
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user