diff options
Diffstat (limited to 'db/migrate/014_add_queries_permissions.rb')
-rw-r--r-- | db/migrate/014_add_queries_permissions.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/migrate/014_add_queries_permissions.rb b/db/migrate/014_add_queries_permissions.rb index 27d674650..34eba1e26 100644 --- a/db/migrate/014_add_queries_permissions.rb +++ b/db/migrate/014_add_queries_permissions.rb @@ -1,4 +1,7 @@ class AddQueriesPermissions < ActiveRecord::Migration + # model removed + class Permission < ActiveRecord::Base; end + def self.up Permission.create :controller => "projects", :action => "add_query", :description => "button_create", :sort => 600, :is_public => false, :mail_option => 0, :mail_enabled => 0 end |