Merge pull request #556 from torrentpier/set-sql-mode-global

Set SQL_MODE = "" as GLOBAL
This commit is contained in:
Roman Kelesidis 2023-03-03 08:30:26 +07:00 committed by GitHub
commit 54a6e8accb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
SET SQL_MODE = "";
SET GLOBAL SQL_MODE = "";
-- ----------------------------
-- Table structure for `bb_attachments`

View file

@ -1,4 +1,4 @@
SET SQL_MODE = "";
SET GLOBAL SQL_MODE = "";
-- ----------------------------
-- Table structure for `bb_bt_tracker`

View file

@ -43,3 +43,6 @@ ALTER TABLE `bb_posts` CHANGE `mc_comment` `mc_comment` TEXT NOT NULL DEFAULT ''
ALTER TABLE `bb_users` CHANGE `user_sig` `user_sig` TEXT NOT NULL DEFAULT '';
ALTER TABLE `bb_groups` CHANGE `group_signature` `group_signature` TEXT NOT NULL DEFAULT '';
ALTER TABLE `bb_groups` CHANGE `group_description` `group_description` TEXT NOT NULL DEFAULT '';
// 2.3.0.4
SET GLOBAL SQL_MODE = "";