Add datacenter column for embeddings

This commit is contained in:
Neeraj Gupta 2024-05-16 10:19:58 +05:30
parent 851f914ef8
commit da188aa753
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,2 @@
-- Add types for the new dcs that are introduced for the derived data
ALTER TABLE embeddings DROP COLUMN IF EXISTS datacenters;

View file

@ -0,0 +1,3 @@
-- Add types for the new dcs that are introduced for the derived data
ALTER TYPE s3region ADD VALUE 'wasabi-eu-central-2-derived';
ALTER TABLE embeddings ADD COLUMN IF NOT EXISTS datacenters s3region[] default '{b2-eu-cen}';