summaryrefslogtreecommitdiffstats
path: root/db/migrate/002_issue_move.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/002_issue_move.rb')
-rw-r--r--db/migrate/002_issue_move.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/002_issue_move.rb b/db/migrate/002_issue_move.rb
index 085593e08..98e95d3b9 100644
--- a/db/migrate/002_issue_move.rb
+++ b/db/migrate/002_issue_move.rb
@@ -7,6 +7,6 @@ class IssueMove < ActiveRecord::Migration
end
def self.down
- Permission.find(:first, :conditions => ["controller=? and action=?", 'projects', 'move_issues']).destroy
+ Permission.where("controller=? and action=?", 'projects', 'move_issues').first.destroy
end
end