mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-17 00:59:05 +00:00
Added web interface, crawler and more work on local storage
This commit is contained in:
@@ -4,6 +4,7 @@ PRAGMA FOREIGN_KEYS = ON;
|
||||
CREATE TABLE Directory (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
path TEXT UNIQUE,
|
||||
name TEXT,
|
||||
enabled BOOLEAN
|
||||
);
|
||||
|
||||
@@ -19,10 +20,11 @@ CREATE TABLE Task (
|
||||
|
||||
-- You can set an option on a directory to change the crawler's behavior
|
||||
CREATE TABLE Option (
|
||||
name STRING,
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
key TEXT,
|
||||
value TEXT,
|
||||
directory_id INTEGER,
|
||||
FOREIGN KEY (directory_id) REFERENCES Directory(id),
|
||||
PRIMARY KEY (name, directory_id)
|
||||
FOREIGN KEY (directory_id) REFERENCES Directory(id)
|
||||
);
|
||||
|
||||
-- User accounts
|
||||
|
||||
Reference in New Issue
Block a user