Term-4-Project / myenv /lib /python3.12 /site-packages /chromadb /migrations /sysdb /00006-collection-segment-metadata.sqlite.sql
Dhenenjay's picture
Upload folder using huggingface_hub
adcfb91 verified
-- SQLite does not support adding check with alter table, as a result, adding a check
-- involve creating a new table and copying the data over. It is over kill with adding
-- a boolean type column. The application write to the table needs to ensure the data
-- integrity.
ALTER TABLE collection_metadata ADD COLUMN bool_value INTEGER;
ALTER TABLE segment_metadata ADD COLUMN bool_value INTEGER;