Sha256: 499810705c53f69e3cb04ab068635a4f6de16b63ae0a3e6f11f457566fab2d71
Contents?: true
Size: 399 Bytes
Versions: 34
Compression:
Stored size: 399 Bytes
Contents
class IssueAddNote < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end def self.up Permission.create :controller => "issues", :action => "add_note", :description => "label_add_note", :sort => 1057, :mail_option => 1, :mail_enabled => 0 end def self.down Permission.where("controller=? and action=?", 'issues', 'add_note').first.destroy end end
Version data entries
34 entries across 34 versions & 1 rubygems