Spaces:
Sleeping
Sleeping
docdialogue
/
.venv
/lib
/python3.11
/site-packages
/chromadb
/migrations
/sysdb
/00001-collections.sqlite.sql
CREATE TABLE collections ( | |
id TEXT PRIMARY KEY, | |
name TEXT NOT NULL, | |
topic TEXT NOT NULL, | |
UNIQUE (name) | |
); | |
CREATE TABLE collection_metadata ( | |
collection_id TEXT REFERENCES collections(id) ON DELETE CASCADE, | |
key TEXT NOT NULL, | |
str_value TEXT, | |
int_value INTEGER, | |
float_value REAL, | |
PRIMARY KEY (collection_id, key) | |
); | |