Skip to content

Commit

Permalink
Fix Migrate table DEFAULT NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
RedAlex committed Feb 18, 2019
1 parent 8536246 commit 5b8c1f7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions MigrateTo1.0.5.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ALTER TABLE `banlist` ADD `liveid` varchar(21) COLLATE utf8mb4_bin NOT NULL AFTER `license`;
ALTER TABLE `banlist` ADD `xblid` varchar(21) COLLATE utf8mb4_bin NOT NULL AFTER `liveid`;
ALTER TABLE `banlist` ADD `discord` varchar(30) COLLATE utf8mb4_bin NOT NULL AFTER `xblid`;
ALTER TABLE `banlist` ADD `liveid` varchar(21) COLLATE utf8mb4_bin DEFAULT NULL AFTER `license`;
ALTER TABLE `banlist` ADD `xblid` varchar(21) COLLATE utf8mb4_bin DEFAULT NULL AFTER `liveid`;
ALTER TABLE `banlist` ADD `discord` varchar(30) COLLATE utf8mb4_bin DEFAULT NULL AFTER `xblid`;

ALTER TABLE `banlisthistory` ADD `liveid` varchar(21) COLLATE utf8mb4_bin NOT NULL AFTER `license`;
ALTER TABLE `banlisthistory` ADD `xblid` varchar(21) COLLATE utf8mb4_bin NOT NULL AFTER `liveid`;
ALTER TABLE `banlisthistory` ADD `discord` varchar(30) COLLATE utf8mb4_bin NOT NULL AFTER `xblid`;
ALTER TABLE `banlisthistory` ADD `liveid` varchar(21) COLLATE utf8mb4_bin DEFAULT NULL AFTER `license`;
ALTER TABLE `banlisthistory` ADD `xblid` varchar(21) COLLATE utf8mb4_bin DEFAULT NULL AFTER `liveid`;
ALTER TABLE `banlisthistory` ADD `discord` varchar(30) COLLATE utf8mb4_bin DEFAULT NULL AFTER `xblid`;

0 comments on commit 5b8c1f7

Please sign in to comment.