git-svn-id: http://svn.redmine.org/redmine/trunk@15676 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/3.4.0
@@ -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 |