annotate .svn/pristine/17/17c033d2aba8bd48a0c5240eb040a0c6c95834ea.svn-base @ 1169:492ff72268e3 bug_521

Close obsolete branch bug_521
author Chris Cannam
date Thu, 18 Oct 2012 10:42:48 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 class IssueMove < ActiveRecord::Migration
Chris@909 2 # model removed
Chris@909 3 class Permission < ActiveRecord::Base; end
Chris@909 4
Chris@909 5 def self.up
Chris@909 6 Permission.create :controller => "projects", :action => "move_issues", :description => "button_move", :sort => 1061, :mail_option => 0, :mail_enabled => 0
Chris@909 7 end
Chris@909 8
Chris@909 9 def self.down
Chris@909 10 Permission.find(:first, :conditions => ["controller=? and action=?", 'projects', 'move_issues']).destroy
Chris@909 11 end
Chris@909 12 end