mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-15 00:43:59 +00:00
9 lines
188 B
MySQL
9 lines
188 B
MySQL
|
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;
|
||
|
|