guestbook-ng/migrations/3/down.sql
2021-12-19 19:09:16 -05:00

12 lines
225 B
SQL

ALTER TABLE messages
RENAME COLUMN message_id TO id;
ALTER TABLE messages
RENAME COLUMN message_date TO date;
ALTER TABLE messages
RENAME COLUMN visitor_name TO name;
ALTER TABLE messages
RENAME COLUMN message TO msg;