mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00: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:
parent
57afa5345e
commit
9c698a7a1e
@ -11,6 +11,6 @@ class InsertBuiltinRoles < ActiveRecord::Migration
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.down
|
def self.down
|
||||||
Role.destroy_all 'builtin <> 0'
|
Role.where('builtin <> 0').destroy_all
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user