xref: /plugin/aichat/db/update0002.sql (revision 2ad4d158a2a4c3e18f3f241351e44f74596c3cc1)
1CREATE TABLE clusters
2(
3    cluster   INTEGER   NOT NULL PRIMARY KEY,
4    centroid  BLOB      NOT NULL,
5    created   TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
6);
7
8ALTER TABLE embeddings ADD COLUMN cluster INTEGER REFERENCES clusters(cluster);
9
10