Remove old HTML snapshot annotation support
Any data trapped in these tables hasn't been accessible in many years.
This commit is contained in:
parent
b54d4e78b7
commit
8026f744c5
5 changed files with 3 additions and 1669 deletions
File diff suppressed because it is too large
Load diff
|
@ -3219,6 +3219,9 @@ Zotero.Schema = new function(){
|
|||
}
|
||||
|
||||
else if (i == 112) {
|
||||
yield Zotero.DB.queryAsync("DROP TABLE IF EXISTS annotations");
|
||||
yield Zotero.DB.queryAsync("DROP TABLE IF EXISTS highlights");
|
||||
|
||||
yield Zotero.DB.queryAsync("DROP TABLE IF EXISTS users");
|
||||
yield Zotero.DB.queryAsync("CREATE TABLE users (\n userID INTEGER PRIMARY KEY,\n name TEXT NOT NULL\n)");
|
||||
}
|
||||
|
|
|
@ -64,7 +64,6 @@ const xpcomFilesLocal = [
|
|||
'libraryTreeView',
|
||||
'collectionTreeView',
|
||||
'collectionTreeRow',
|
||||
'annotate',
|
||||
'api',
|
||||
'attachments',
|
||||
'cite',
|
||||
|
|
|
@ -139,9 +139,6 @@ pref("extensions.zotero.httpServer.port", 23119); // ascii "ZO"
|
|||
// Zeroconf
|
||||
pref("extensions.zotero.zeroconf.server.enabled", false);
|
||||
|
||||
// Annotation settings
|
||||
pref("extensions.zotero.annotations.warnOnClose", true);
|
||||
|
||||
// Streaming server
|
||||
pref("extensions.zotero.streaming.enabled", true);
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue