lemmy/migrations/2023-10-24-131607_proxy_links/up.sql

8 lines
187 B
SQL

CREATE TABLE remote_image (
id serial PRIMARY KEY,
link text not null unique,
published timestamptz DEFAULT now() NOT NULL
);
alter table image_upload rename to local_image;