Code to read and write annotations to the calibre db

This commit is contained in:
Kovid Goyal
2020-06-11 08:47:33 +05:30
parent 628ce9aa84
commit 6bda5e6aad
9 changed files with 233 additions and 43 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ CREATE TABLE annotations ( id INTEGER PRIMARY KEY,
annot_type TEXT NOT NULL,
annot_data TEXT NOT NULL,
searchable_text TEXT NOT NULL,
UNIQUE(book, user_type, user, format, annot_id)
UNIQUE(book, user_type, user, format, annot_type, annot_id)
);
CREATE VIEW meta AS