lemmy/migrations/2023-10-24-131607_proxy_links/up.sql
Felix Ableitner 7306153161 sql fmt
2023-10-24 17:10:13 +02:00

9 lines
188 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;