mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-05 01:26:18 +00:00
More indexes
This commit is contained in:
parent
e9d640b61b
commit
01e1882083
@ -82,6 +82,8 @@ $tw.SqlFunctions = function(options) {
|
||||
FOREIGN KEY (tag_id) REFERENCES tags (tag_id) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
PRIMARY KEY (title, plugintitle, tag_id)
|
||||
);
|
||||
CREATE INDEX IF NOT EXISTS tiddler_tags_title_index ON tiddler_tags(title);
|
||||
CREATE INDEX IF NOT EXISTS tiddler_tags_plugintitle_index ON tiddler_tags(plugintitle);
|
||||
CREATE INDEX IF NOT EXISTS tiddler_tags_tag_id_index ON tiddler_tags(tag_id);
|
||||
`
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user