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
thin
unicorn
RUBY VERSION
ruby 2.2.3p173
BUNDLED WITH
1.10.6
1.13.0
......@@ -24,16 +24,6 @@ class AddPermissions < ActiveRecord::Migration
Permission.create(:name => 'Manage Space Hours')
Permission.create(:name => 'Manage Events')
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
def down
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment