mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-08 17:34:16 +00:00
sql fmt
This commit is contained in:
parent
ae96d863a4
commit
7306153161
|
@ -1,3 +1,4 @@
|
||||||
drop table remote_image;
|
DROP TABLE remote_image;
|
||||||
|
|
||||||
|
ALTER TABLE local_image RENAME TO image_upload;
|
||||||
|
|
||||||
alter table local_image rename to image_upload;
|
|
|
@ -1,7 +1,8 @@
|
||||||
CREATE TABLE remote_image (
|
CREATE TABLE remote_image (
|
||||||
id serial PRIMARY KEY,
|
id serial PRIMARY KEY,
|
||||||
link text not null unique,
|
link text NOT NULL UNIQUE,
|
||||||
published timestamptz DEFAULT now() NOT NULL
|
published timestamptz DEFAULT now() NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
alter table image_upload rename to local_image;
|
ALTER TABLE image_upload RENAME TO local_image;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue