mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
Support MySQL 8.x series
Two issues resolved relating to MySQL 8: 1. DB version checking skips MINOR/PATCH checks if MAJOR release changed. 2. Keyword 'admin' quoted to ensure MySQL compat. Closes #152
This commit is contained in:
parent
0f87d5b07e
commit
2066f72258
7 changed files with 700 additions and 673 deletions
|
@ -13,6 +13,6 @@ ALTER TABLE useractivity ADD COLUMN `metadata` VARCHAR(1000) NOT NULL DEFAULT ''
|
|||
|
||||
-- new role for viewing content analytics
|
||||
ALTER TABLE account ADD COLUMN `analytics` BOOL NOT NULL DEFAULT 0 AFTER `users`;
|
||||
UPDATE account SET analytics=1 WHERE admin=1;
|
||||
UPDATE account SET analytics=1 WHERE `admin`=1;
|
||||
|
||||
-- deprecations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue