From 9be1b658f564a33579a2b3044c2ddd66ff3aa236 Mon Sep 17 00:00:00 2001 From: AreYouScared Date: Tue, 15 Oct 2019 18:28:46 -0400 Subject: [PATCH] MySQL 8 fix Fixes for users wanting to run MySQL v8+ --- .../migrations/2016_10_23_193810_add_foreign_keys_servers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2016_10_23_193810_add_foreign_keys_servers.php b/database/migrations/2016_10_23_193810_add_foreign_keys_servers.php index 3a2663527..1412720c9 100644 --- a/database/migrations/2016_10_23_193810_add_foreign_keys_servers.php +++ b/database/migrations/2016_10_23_193810_add_foreign_keys_servers.php @@ -16,7 +16,7 @@ class AddForeignKeysServers extends Migration MODIFY COLUMN owner INT(10) UNSIGNED NOT NULL, MODIFY COLUMN allocation INT(10) UNSIGNED NOT NULL, MODIFY COLUMN service INT(10) UNSIGNED NOT NULL, - MODIFY COLUMN servers.option INT(10) UNSIGNED NOT NULL + MODIFY COLUMN `option` INT(10) UNSIGNED NOT NULL '); Schema::table('servers', function (Blueprint $table) { @@ -55,7 +55,7 @@ class AddForeignKeysServers extends Migration MODIFY COLUMN owner MEDIUMINT(8) UNSIGNED NOT NULL, MODIFY COLUMN allocation MEDIUMINT(8) UNSIGNED NOT NULL, MODIFY COLUMN service MEDIUMINT(8) UNSIGNED NOT NULL, - MODIFY COLUMN servers.option MEDIUMINT(8) UNSIGNED NOT NULL + MODIFY COLUMN `option` MEDIUMINT(8) UNSIGNED NOT NULL '); } }