From 04f5acedba4a4f7d0f040ba562421ce826f31ad0 Mon Sep 17 00:00:00 2001 From: Spencer McCoy <smccoy12@ucomm-c07kt262dwym.unl.edu> Date: Tue, 13 Sep 2016 09:48:14 -0500 Subject: [PATCH] Remove Tyler and Liana from migration --- Gemfile.lock | 5 ++++- db/migrate/20151218100000_add_permissions.rb | 10 ---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 6ffb151..1d600ad 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -149,5 +149,8 @@ DEPENDENCIES thin unicorn +RUBY VERSION + ruby 2.2.3p173 + BUNDLED WITH - 1.10.6 + 1.13.0 diff --git a/db/migrate/20151218100000_add_permissions.rb b/db/migrate/20151218100000_add_permissions.rb index faa7491..15f12ad 100644 --- a/db/migrate/20151218100000_add_permissions.rb +++ b/db/migrate/20151218100000_add_permissions.rb @@ -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 -- GitLab