From 181b1d1cd7c69f43e42cfcbc8bd61aacafa0bc08 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Thu, 29 Sep 2016 21:40:53 -0400 Subject: [PATCH] Complete fixing of improperly named tf2 in db --- ..._09_29_213518_rename_double_insurgency.php | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 database/migrations/2016_09_29_213518_rename_double_insurgency.php diff --git a/database/migrations/2016_09_29_213518_rename_double_insurgency.php b/database/migrations/2016_09_29_213518_rename_double_insurgency.php new file mode 100644 index 000000000..79a11661b --- /dev/null +++ b/database/migrations/2016_09_29_213518_rename_double_insurgency.php @@ -0,0 +1,34 @@ +where('id', 3)->where('name', 'Insurgency')->first(); + if ($model) { + $model->name = 'Team Fortress 2'; + $model->save(); + } + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } +}