Allow NULL in users.preferences column in postgres and sqlite db, the same as for other engines (#7767)

This commit is contained in:
Aleksander Machniak
2020-12-29 16:21:14 +01:00
parent d4164e02c3
commit 6cddb27456
11 changed files with 48 additions and 7 deletions

View File

@@ -90,7 +90,7 @@ CREATE TABLE users (
failed_login datetime DEFAULT NULL,
failed_login_counter integer DEFAULT NULL,
language varchar(16),
preferences text NOT NULL default ''
preferences text DEFAULT NULL
);
CREATE UNIQUE INDEX ix_users_username ON users(username, mail_host);
@@ -230,4 +230,4 @@ CREATE TABLE system (
value text NOT NULL
);
INSERT INTO system (name, value) VALUES ('roundcube-version', '2020091000');
INSERT INTO system (name, value) VALUES ('roundcube-version', '2020122900');