mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-30 23:41:05 +00:00
Set null to email_blocklist table fields for SQLite
This commit is contained in:
parent
858cad2995
commit
82df86d09e
2 changed files with 18 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
||||||
|
CREATE TABLE email_blocklist2(id INTEGER PRIMARY KEY,
|
||||||
|
email_address TEXT UNIQUE,
|
||||||
|
note TEXT,
|
||||||
|
notify_user BOOLEAN DEFAULT FALSE,
|
||||||
|
notification_text TEXT);
|
||||||
|
|
||||||
|
INSERT INTO email_blocklist2 SELECT * FROM email_blocklist;
|
||||||
|
DROP TABLE email_blocklist;
|
||||||
|
ALTER TABLE email_blocklist2 RENAME TO email_blocklist;
|
|
@ -0,0 +1,9 @@
|
||||||
|
CREATE TABLE email_blocklist2(id INTEGER PRIMARY KEY,
|
||||||
|
email_address TEXT UNIQUE NOT NULL,
|
||||||
|
note TEXT NOT NULL,
|
||||||
|
notify_user BOOLEAN DEFAULT FALSE NOT NULL,
|
||||||
|
notification_text TEXT NOT NULL);
|
||||||
|
|
||||||
|
INSERT INTO email_blocklist2 SELECT * FROM email_blocklist;
|
||||||
|
DROP TABLE email_blocklist;
|
||||||
|
ALTER TABLE email_blocklist2 RENAME TO email_blocklist;
|
Loading…
Reference in a new issue