- Fixes tag editing

- Adds tag syncing
- Fixes a few other things

No tag CR yet
Requires new 1.0 DB upgrade
This commit is contained in:
Dan Stillman 2008-06-16 05:46:10 +00:00
parent f00e5501e9
commit 9bcdf021dd
19 changed files with 1355 additions and 334 deletions

View file

@ -71,9 +71,11 @@ CREATE INDEX itemAttachments_mimeType ON itemAttachments(mimeType);
-- Individual entries for each tag
CREATE TABLE tags (
tagID INTEGER PRIMARY KEY,
tag TEXT,
tagType INT,
UNIQUE (tag, tagType)
name TEXT,
type INT,
dateModified DEFAULT CURRENT_TIMESTAMP NOT NULL,
key TEXT NOT NULL UNIQUE,
UNIQUE (name, type)
);
-- Associates items with keywords