Added tags table and some tag samples
This commit is contained in:
@@ -242,4 +242,15 @@ CREATE INDEX regids_name ON regids (
|
||||
name
|
||||
);
|
||||
|
||||
DROP TABLE IF EXISTS tags;
|
||||
CREATE TABLE tags (
|
||||
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
regid INTEGER NOT NULL REFERENCES regids(id),
|
||||
unique_sw_id TEXT NOT NULL,
|
||||
value TEXT
|
||||
);
|
||||
DROP INDEX IF EXISTS tags_name;
|
||||
CREATE INDEX tags_unique_sw_id ON tags (
|
||||
unique_sw_id
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user