shiori/internal/database
Felipe Martin Garcia 0bd297d63c
fix: update bookmark on sqlite database (#367)
It used an update and insert at the same time, since the virtual table
cannot have constrants nor upserts we need to try an update the
bookmark content to check for it's existence, inserting it only if the
update fails (don't affect any rows).

This will need to be improved in the future, since not all bookmark
updates require modification of the content table (in my case, I was
testing only updating tags).
2022-02-13 21:28:40 +01:00
..
database.go If there are no owner yet, allow to use default account 2019-08-22 14:34:36 +07:00
mysql.go fix: golangci-lint errors (#366) 2022-02-13 16:38:27 +01:00
pg.go fix: golangci-lint errors (#366) 2022-02-13 16:38:27 +01:00
sqlite.go fix: update bookmark on sqlite database (#367) 2022-02-13 21:28:40 +01:00