Remove old HTML snapshot annotation support

Any data trapped in these tables hasn't been accessible in many years.
This commit is contained in:
Dan Stillman 2020-06-20 06:10:34 -04:00
parent b54d4e78b7
commit 8026f744c5
5 changed files with 3 additions and 1669 deletions

View file

@ -374,37 +374,6 @@ CREATE TABLE storageDeleteLog (
FOREIGN KEY (libraryID) REFERENCES libraries(libraryID) ON DELETE CASCADE
);
CREATE TABLE annotations (
annotationID INTEGER PRIMARY KEY,
itemID INT NOT NULL,
parent TEXT,
textNode INT,
offset INT,
x INT,
y INT,
cols INT,
rows INT,
text TEXT,
collapsed BOOL,
dateModified DATE,
FOREIGN KEY (itemID) REFERENCES itemAttachments(itemID) ON DELETE CASCADE
);
CREATE INDEX annotations_itemID ON annotations(itemID);
CREATE TABLE highlights (
highlightID INTEGER PRIMARY KEY,
itemID INT NOT NULL,
startParent TEXT,
startTextNode INT,
startOffset INT,
endParent TEXT,
endTextNode INT,
endOffset INT,
dateModified DATE,
FOREIGN KEY (itemID) REFERENCES itemAttachments(itemID) ON DELETE CASCADE
);
CREATE INDEX highlights_itemID ON highlights(itemID);
CREATE TABLE proxies (
proxyID INTEGER PRIMARY KEY,
multiHost INT,