Include author field when updating the database
This commit is contained in:
parent
3a654f6ede
commit
e51915d1cd
@ -511,6 +511,7 @@ class Repository(
|
|||||||
item.link,
|
item.link,
|
||||||
item.sourcetitle,
|
item.sourcetitle,
|
||||||
item.tags.joinToString(","),
|
item.tags.joinToString(","),
|
||||||
|
item.author,
|
||||||
item.id.toString()
|
item.id.toString()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -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` = ? WHERE `id` = ?;
|
UPDATE ITEM SET `datetime` = ?, `title` = ?, `content` = ?, `unread` = ?, `starred` = ?, `thumbnail` = ?, `icon` = ?, `link` = ?, `sourcetitle` = ?, `tags` = ?, `author` = ? WHERE `id` = ?;
|
Loading…
Reference in New Issue
Block a user