fp/services/migrations-schema/migrations/00010_record-segments.sql

8 lines
258 B
MySQL
Raw Normal View History

2024-08-17 02:42:44 +00:00
-- 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[][];