Skip to content
Snippets Groups Projects
Commit 04f5aced authored by Spencer McCoy's avatar Spencer McCoy
Browse files

Remove Tyler and Liana from migration

parent 08111a07
No related branches found
No related tags found
No related merge requests found
...@@ -149,5 +149,8 @@ DEPENDENCIES ...@@ -149,5 +149,8 @@ DEPENDENCIES
thin thin
unicorn unicorn
RUBY VERSION
ruby 2.2.3p173
BUNDLED WITH BUNDLED WITH
1.10.6 1.13.0
...@@ -24,16 +24,6 @@ class AddPermissions < ActiveRecord::Migration ...@@ -24,16 +24,6 @@ class AddPermissions < ActiveRecord::Migration
Permission.create(:name => 'Manage Space Hours') Permission.create(:name => 'Manage Space Hours')
Permission.create(:name => 'Manage Events') Permission.create(:name => 'Manage Events')
Permission.create(:name => 'See Agenda') Permission.create(:name => 'See Agenda')
# give all permissions including super user to tyler & lowad
permissions = Permission.all
tyler = User.find_by(:username => 'tyler')
lowad2 = User.find_by(:username => 'lowad2')
permissions.each do |perm|
tyler.permissions << perm
lowad2.permissions << perm
end
end end
def down def down
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment