Commit 5c5635dc authored by jplang's avatar jplang

Don't pass conditions to #destroy_all.

git-svn-id: https://svn.redmine.org/redmine/trunk@15676 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent dd090885
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment