Skip to content

Commit f7cf917

Browse files
authored
Merge pull request pterodactyl#1724 from Sir3lit/mysql8-fix
MySQL 8 fix
2 parents 4bca3a4 + 9be1b65 commit f7cf917

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/migrations/2016_10_23_193810_add_foreign_keys_servers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function up()
1616
MODIFY COLUMN owner INT(10) UNSIGNED NOT NULL,
1717
MODIFY COLUMN allocation INT(10) UNSIGNED NOT NULL,
1818
MODIFY COLUMN service INT(10) UNSIGNED NOT NULL,
19-
MODIFY COLUMN servers.option INT(10) UNSIGNED NOT NULL
19+
MODIFY COLUMN `option` INT(10) UNSIGNED NOT NULL
2020
');
2121

2222
Schema::table('servers', function (Blueprint $table) {
@@ -55,7 +55,7 @@ public function down()
5555
MODIFY COLUMN owner MEDIUMINT(8) UNSIGNED NOT NULL,
5656
MODIFY COLUMN allocation MEDIUMINT(8) UNSIGNED NOT NULL,
5757
MODIFY COLUMN service MEDIUMINT(8) UNSIGNED NOT NULL,
58-
MODIFY COLUMN servers.option MEDIUMINT(8) UNSIGNED NOT NULL
58+
MODIFY COLUMN `option` MEDIUMINT(8) UNSIGNED NOT NULL
5959
');
6060
}
6161
}

0 commit comments

Comments
 (0)