mirror of https://github.com/LemmyNet/lemmy.git
sql fmt
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 (
|
||||
id serial PRIMARY KEY,
|
||||
link text not null unique,
|
||||
link text NOT NULL UNIQUE,
|
||||
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 New Issue