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

12 lines
225 B
SQL

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