guestbook-ng/migrations/3/down.sql

12 lines
225 B
MySQL
Raw Normal View History

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