Merge pull request #1724 from Sir3lit/mysql8-fix

MySQL 8 fix
This commit is contained in:
Dane Everitt 2019-12-28 11:14:51 -08:00 committed by GitHub
commit f7cf917378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ class AddForeignKeysServers extends Migration
MODIFY COLUMN owner INT(10) UNSIGNED NOT NULL, MODIFY COLUMN owner INT(10) UNSIGNED NOT NULL,
MODIFY COLUMN allocation INT(10) UNSIGNED NOT NULL, MODIFY COLUMN allocation INT(10) UNSIGNED NOT NULL,
MODIFY COLUMN service 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) { Schema::table('servers', function (Blueprint $table) {
@ -55,7 +55,7 @@ class AddForeignKeysServers extends Migration
MODIFY COLUMN owner MEDIUMINT(8) UNSIGNED NOT NULL, MODIFY COLUMN owner MEDIUMINT(8) UNSIGNED NOT NULL,
MODIFY COLUMN allocation MEDIUMINT(8) UNSIGNED NOT NULL, MODIFY COLUMN allocation MEDIUMINT(8) UNSIGNED NOT NULL,
MODIFY COLUMN service 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
'); ');
} }
} }