Migrate the database table
This commit is contained in:
parent
5227751dca
commit
3a654f6ede
@ -1 +1 @@
|
|||||||
ALTER TABLE ITEM ADD COLUMN `author` TEXT;
|
ALTER TABLE ITEM ADD COLUMN `author` TEXT NOT NULL;
|
@ -0,0 +1,6 @@
|
|||||||
|
CREATE TABLE ITEM_BACKUP AS SELECT `id`, `datetime`, `title`, `content`,
|
||||||
|
`unread`, `starred`, `thumbnail`, `icon`, `link`, `sourcetitle`,
|
||||||
|
`tags` FROM ITEM;
|
||||||
|
ALTER TABLE ITEM_BACKUP ADD COLUMN `author` TEXT;
|
||||||
|
DROP TABLE ITEM;
|
||||||
|
ALTER TABLE ITEM_BACKUP RENAME TO ITEM;
|
Loading…
Reference in New Issue
Block a user