lemmy/migrations/2024-05-05-162540_add_image.../down.sql

8 lines
153 B
SQL

ALTER TABLE remote_image
ADD UNIQUE (link),
DROP CONSTRAINT remote_image_pkey,
ADD COLUMN id serial PRIMARY KEY;
DROP TABLE image_details;