Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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