##// END OF EJS Templates
Adds a unique index on members (#6826)....
Adds a unique index on members (#6826). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4369 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r663:603e11d7a5aa
r4255:c50b611f8513
Show More
002_issue_move.rb
12 lines | 421 B | text/x-ruby | RubyLexer
/ db / migrate / 002_issue_move.rb
Jean-Philippe Lang
git-svn-id: http://redmine.rubyforge.org/svn/trunk@32 e93f8b46-1217-0410-a6f0-8f06a7374b81
r30 class IssueMove < ActiveRecord::Migration
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 # model removed
class Permission < ActiveRecord::Base; end
Jean-Philippe Lang
git-svn-id: http://redmine.rubyforge.org/svn/trunk@32 e93f8b46-1217-0410-a6f0-8f06a7374b81
r30 def self.up
Jean-Philippe Lang
git-svn-id: http://redmine.rubyforge.org/svn/trunk@38 e93f8b46-1217-0410-a6f0-8f06a7374b81
r36 Permission.create :controller => "projects", :action => "move_issues", :description => "button_move", :sort => 1061, :mail_option => 0, :mail_enabled => 0
Jean-Philippe Lang
git-svn-id: http://redmine.rubyforge.org/svn/trunk@32 e93f8b46-1217-0410-a6f0-8f06a7374b81
r30 end
def self.down
Permission.find(:first, :conditions => ["controller=? and action=?", 'projects', 'move_issues']).destroy
end
end