summaryrefslogtreecommitdiffstats
path: root/db/migrate/012_add_comments_permissions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/012_add_comments_permissions.rb')
-rw-r--r--db/migrate/012_add_comments_permissions.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/migrate/012_add_comments_permissions.rb b/db/migrate/012_add_comments_permissions.rb
index 37f075082..2bbf87b02 100644
--- a/db/migrate/012_add_comments_permissions.rb
+++ b/db/migrate/012_add_comments_permissions.rb
@@ -1,4 +1,7 @@
class AddCommentsPermissions < ActiveRecord::Migration
+ # model removed
+ class Permission < ActiveRecord::Base; end
+
def self.up
Permission.create :controller => "news", :action => "add_comment", :description => "label_comment_add", :sort => 1130, :is_public => false, :mail_option => 0, :mail_enabled => 0
Permission.create :controller => "news", :action => "destroy_comment", :description => "label_comment_delete", :sort => 1133, :is_public => false, :mail_option => 0, :mail_enabled => 0