guestbook-ng/migrations/3/up.sql

12 lines
225 B
MySQL
Raw Normal View History

2021-12-20 00:09:16 +00:00
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;