Compare commits
No commits in common. "e51915d1cd96f5bfbb64fb7560d0d13e26e0a350" and "5227751dcad431848fe29276a0344fcd1309b227" have entirely different histories.
e51915d1cd
...
5227751dca
@ -511,7 +511,6 @@ class Repository(
|
|||||||
item.link,
|
item.link,
|
||||||
item.sourcetitle,
|
item.sourcetitle,
|
||||||
item.tags.joinToString(","),
|
item.tags.joinToString(","),
|
||||||
item.author,
|
|
||||||
item.id.toString()
|
item.id.toString()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
ALTER TABLE ITEM ADD COLUMN `author` TEXT NOT NULL;
|
ALTER TABLE ITEM ADD COLUMN `author` TEXT;
|
@ -1,6 +0,0 @@
|
|||||||
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;
|
|
@ -31,4 +31,4 @@ deleteItemsWhereSource:
|
|||||||
DELETE FROM ITEM WHERE `sourcetitle` = ?;
|
DELETE FROM ITEM WHERE `sourcetitle` = ?;
|
||||||
|
|
||||||
updateItem:
|
updateItem:
|
||||||
UPDATE ITEM SET `datetime` = ?, `title` = ?, `content` = ?, `unread` = ?, `starred` = ?, `thumbnail` = ?, `icon` = ?, `link` = ?, `sourcetitle` = ?, `tags` = ?, `author` = ? WHERE `id` = ?;
|
UPDATE ITEM SET `datetime` = ?, `title` = ?, `content` = ?, `unread` = ?, `starred` = ?, `thumbnail` = ?, `icon` = ?, `link` = ?, `sourcetitle` = ?, `tags` = ? WHERE `id` = ?;
|
Loading…
Reference in New Issue
Block a user