Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

002_issue_move.rb 408B

123456789101112
  1. class IssueMove < ActiveRecord::Migration[4.2]
  2. # model removed
  3. class Permission < ActiveRecord::Base; end
  4. def self.up
  5. Permission.create :controller => "projects", :action => "move_issues", :description => "button_move", :sort => 1061, :mail_option => 0, :mail_enabled => 0
  6. end
  7. def self.down
  8. Permission.where("controller=? and action=?", 'projects', 'move_issues').first.destroy
  9. end
  10. end