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

8 lines
187 B
MySQL
Raw Normal View History

2023-10-24 13:56:04 +00:00
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;