Forgot a few things here

This commit is contained in:
swagg boi 2022-08-22 12:27:08 -04:00
parent 9062d983b4
commit 403b0cea26
2 changed files with 36 additions and 8 deletions

View file

@ -2,13 +2,27 @@
RENAME TO replies; RENAME TO replies;
ALTER TABLE replies ALTER TABLE replies
RENAME remark_id TO reply_id; RENAME remark_id
TO reply_id;
ALTER TABLE replies ALTER TABLE replies
RENAME remark_date TO reply_date; RENAME remark_date
TO reply_date;
ALTER TABLE replies ALTER TABLE replies
RENAME remark_author TO reply_author; RENAME remark_author
TO reply_author;
ALTER TABLE replies ALTER TABLE replies
RENAME remark_body TO reply_body; RENAME remark_body
TO reply_body;
ALTER TABLE replies
RENAME CONSTRAINT remarks_thread_id_fkey
TO replies_thread_id_fkey;
ALTER INDEX remarks_pkey
RENAME TO replies_pkey;
ALTER SEQUENCE remarks_remark_id_seq
RENAME TO replies_reply_id_seq;

View file

@ -2,13 +2,27 @@
RENAME TO remarks; RENAME TO remarks;
ALTER TABLE remarks ALTER TABLE remarks
RENAME reply_id TO remark_id; RENAME reply_id
TO remark_id;
ALTER TABLE remarks ALTER TABLE remarks
RENAME reply_date TO remark_date; RENAME reply_date
TO remark_date;
ALTER TABLE remarks ALTER TABLE remarks
RENAME reply_author TO remark_author; RENAME reply_author
TO remark_author;
ALTER TABLE remarks ALTER TABLE remarks
RENAME reply_body TO remark_body; RENAME reply_body
TO remark_body;
ALTER TABLE remarks
RENAME CONSTRAINT replies_thread_id_fkey
TO remarks_thread_id_fkey;
ALTER INDEX replies_pkey
RENAME TO remarks_pkey;
ALTER SEQUENCE replies_reply_id_seq
RENAME TO remarks_remark_id_seq;