Add datacenter column for embeddings
This commit is contained in:
parent
851f914ef8
commit
da188aa753
2 changed files with 5 additions and 0 deletions
2
server/migrations/86_add_dc_embedding.down.sql
Normal file
2
server/migrations/86_add_dc_embedding.down.sql
Normal 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;
|
3
server/migrations/86_add_dc_embedding.up.sql
Normal file
3
server/migrations/86_add_dc_embedding.up.sql
Normal 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}';
|
Loading…
Reference in a new issue