Sha256: 200dfaf12e2f11bc5cccc3cfdc256c386d65f8921485e2178c49b25b71d7e54b
Contents?: true
Size: 458 Bytes
Versions: 34
Compression:
Stored size: 458 Bytes
Contents
class AddRepositoriesChangesPermission < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end def self.up Permission.create :controller => 'repositories', :action => 'changes', :description => 'label_change_plural', :sort => 1475, :is_public => true, :mail_option => 0, :mail_enabled => 0 end def self.down Permission.where(:controller => "repositories", :action => "changes").each {|p| p.destroy} end end
Version data entries
34 entries across 34 versions & 1 rubygems