fp/services/migrations/migrations/00010_record-segments.sql
2024-08-16 18:42:44 -08:00

8 lines
258 B
SQL

-- we add the concept of segments to api.records
-- implemented as a multidimensional text array, s3_segments.
-- the first value is the s3 id, the second value is the s3 key
-- [id, key]
ALTER TABLE IF EXISTS api.records
ADD COLUMN s3_segments text[][];