From 668dc9216a682fab45e3e504d5a88bf4bc3df857 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 12 Mar 2017 19:36:13 -0400 Subject: [PATCH] Update seeders to reflect removed table column --- database/seeds/MinecraftServiceTableSeeder.php | 9 --------- database/seeds/SourceServiceTableSeeder.php | 11 ----------- database/seeds/TerrariaServiceTableSeeder.php | 2 -- database/seeds/VoiceServiceTableSeeder.php | 3 --- 4 files changed, 25 deletions(-) diff --git a/database/seeds/MinecraftServiceTableSeeder.php b/database/seeds/MinecraftServiceTableSeeder.php index 0a004947a..d1e7b844a 100644 --- a/database/seeds/MinecraftServiceTableSeeder.php +++ b/database/seeds/MinecraftServiceTableSeeder.php @@ -190,7 +190,6 @@ EOF; 'default_value' => 'server.jar', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 1, 'rules' => 'required|regex:/^([\w\d._-]+)(\.jar)$/', ]); @@ -203,7 +202,6 @@ EOF; 'default_value' => 'latest', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 1, 'rules' => 'required|string|between:3,7', ]); } @@ -219,7 +217,6 @@ EOF; 'default_value' => 'server.jar', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 1, 'rules' => 'required|regex:/^([\w\d._-]+)(\.jar)$/', ]); @@ -232,7 +229,6 @@ EOF; 'default_value' => 'latest', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 1, 'rules' => 'required|string|between:3,7', ]); @@ -245,7 +241,6 @@ EOF; 'default_value' => '', 'user_viewable' => 0, 'user_editable' => 0, - 'required' => 0, 'rules' => 'string', ]); } @@ -261,7 +256,6 @@ EOF; 'default_value' => '1.10.2-5.2.0-BETA-381', 'user_viewable' => 1, 'user_editable' => 0, - 'required' => 1, 'rules' => 'required|regex:/^([a-zA-Z0-9.\-_]+)$/', ]); @@ -274,7 +268,6 @@ EOF; 'default_value' => 'server.jar', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 1, 'rules' => 'required|regex:/^([\w\d._-]+)(\.jar)$/', ]); } @@ -290,7 +283,6 @@ EOF; 'default_value' => 'latest', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 1, 'rules' => 'required|alpha_num|between:1,6', ]); @@ -303,7 +295,6 @@ EOF; 'default_value' => 'bungeecord.jar', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 1, 'rules' => 'required|regex:/^([\w\d._-]+)(\.jar)$/', ]); } diff --git a/database/seeds/SourceServiceTableSeeder.php b/database/seeds/SourceServiceTableSeeder.php index d565d27d6..08e941ed5 100644 --- a/database/seeds/SourceServiceTableSeeder.php +++ b/database/seeds/SourceServiceTableSeeder.php @@ -149,7 +149,6 @@ class SourceServiceTableSeeder extends Seeder 'default_value' => '17705', 'user_viewable' => 1, 'user_editable' => 0, - 'required' => 1, 'rules' => 'required|regex:/^(17705)$/', ]); @@ -162,7 +161,6 @@ class SourceServiceTableSeeder extends Seeder 'default_value' => 'insurgency', 'user_viewable' => 1, 'user_editable' => 0, - 'required' => 1, 'rules' => 'required|regex:/^(insurgency)$/', ]); @@ -175,7 +173,6 @@ class SourceServiceTableSeeder extends Seeder 'default_value' => 'sinjar', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 1, 'rules' => 'required|regex:/^(\w{1,20})$/', ]); } @@ -191,7 +188,6 @@ class SourceServiceTableSeeder extends Seeder 'default_value' => '232250', 'user_viewable' => 1, 'user_editable' => 0, - 'required' => 1, 'rules' => 'required|regex:/^(232250)$/', ]); @@ -204,7 +200,6 @@ class SourceServiceTableSeeder extends Seeder 'default_value' => 'tf', 'user_viewable' => 1, 'user_editable' => 0, - 'required' => 1, 'rules' => 'required|regex:/^(tf)$/', ]); @@ -217,7 +212,6 @@ class SourceServiceTableSeeder extends Seeder 'default_value' => 'cp_dustbowl', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 1, 'rules' => 'required|regex:/^(\w{1,20})$/', ]); } @@ -233,7 +227,6 @@ class SourceServiceTableSeeder extends Seeder 'default_value' => '', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 0, 'rules' => 'alpha_dash|between:1,100', ]); @@ -246,7 +239,6 @@ class SourceServiceTableSeeder extends Seeder 'default_value' => '', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 0, 'rules' => 'alpha_dash|between:1,100', ]); @@ -259,7 +251,6 @@ class SourceServiceTableSeeder extends Seeder 'default_value' => 20, 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 1, 'rules' => 'required|numeric|digits_between:1,4', ]); } @@ -275,7 +266,6 @@ class SourceServiceTableSeeder extends Seeder 'default_value' => '', 'user_viewable' => 1, 'user_editable' => 0, - 'required' => 1, 'rules' => 'required|numeric|digits_between:1,6', ]); @@ -288,7 +278,6 @@ class SourceServiceTableSeeder extends Seeder 'default_value' => '', 'user_viewable' => 1, 'user_editable' => 0, - 'required' => 1, 'rules' => 'required|alpha_dash|between:1,100', ]); } diff --git a/database/seeds/TerrariaServiceTableSeeder.php b/database/seeds/TerrariaServiceTableSeeder.php index 9bc442738..036e42e0e 100644 --- a/database/seeds/TerrariaServiceTableSeeder.php +++ b/database/seeds/TerrariaServiceTableSeeder.php @@ -95,7 +95,6 @@ class TerrariaServiceTableSeeder extends Seeder 'default_value' => '4.3.22', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 1, 'rules' => 'required|regex:/^([0-9_\.-]{5,10})$/', ]); @@ -108,7 +107,6 @@ class TerrariaServiceTableSeeder extends Seeder 'default_value' => 20, 'user_viewable' => 1, 'user_editable' => 0, - 'required' => 1, 'rules' => 'required|numeric|digits_between:1,3', ]); } diff --git a/database/seeds/VoiceServiceTableSeeder.php b/database/seeds/VoiceServiceTableSeeder.php index 22b02b95e..2e1c26a8b 100644 --- a/database/seeds/VoiceServiceTableSeeder.php +++ b/database/seeds/VoiceServiceTableSeeder.php @@ -110,7 +110,6 @@ class VoiceServiceTableSeeder extends Seeder 'default_value' => 100, 'user_viewable' => 1, 'user_editable' => 0, - 'required' => 1, 'rules' => 'required|numeric|digits_between:1,5', ]); @@ -123,7 +122,6 @@ class VoiceServiceTableSeeder extends Seeder 'default_value' => '1.2.19', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 1, 'rules' => 'required|regex:/^([0-9_\.-]{5,8})$/', ]); @@ -136,7 +134,6 @@ class VoiceServiceTableSeeder extends Seeder 'default_value' => '3.1.1.1', 'user_viewable' => 1, 'user_editable' => 1, - 'required' => 1, 'rules' => 'required|regex:/^([0-9_\.-]{5,10})$/', ]); }