mirror of https://github.com/LemmyNet/lemmy.git
8 lines
187 B
MySQL
8 lines
187 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;
|