Fixes rank being a reserved SQL keyword (#15661)

This commit is contained in:
AffectedArc07
2021-03-04 18:50:36 +00:00
committed by GitHub
parent 091146029a
commit fd79e342a8
9 changed files with 14 additions and 10 deletions
+4
View File
@@ -0,0 +1,4 @@
# Updating DB from 21-22, -AffectedArc07
# Changes `rank` to `admin_rank` to remove use of reserved keyword
ALTER TABLE `admin` CHANGE COLUMN `rank` `admin_rank` VARCHAR(32) NOT NULL DEFAULT 'Administrator' COLLATE 'utf8mb4_unicode_ci' AFTER `ckey`;