9 lines
359 B
MySQL
9 lines
359 B
MySQL
|
-- undo last because it was redundant. we don't need file_id because the same data is in s3_id
|
||
|
ALTER TABLE api.s3_files
|
||
|
DROP COLUMN file_id;
|
||
|
|
||
|
-- add created_at and updated_at to match strapi data
|
||
|
ALTER TABLE api.s3_files
|
||
|
ADD COLUMN created_at timestamp(6) without time zone;
|
||
|
ALTER TABLE api.s3_files
|
||
|
ADD COLUMN updated_at timestamp(6) without time zone;
|