Keep the old users table temporarily
This commit is contained in:
parent
9fbe5dcd13
commit
2d9946093a
@ -80,8 +80,9 @@ ALTER TABLE reminders
|
||||
DROP COLUMN set_by;
|
||||
ALTER TABLE reminders RENAME COLUMN set_by_new TO set_by;
|
||||
|
||||
-- Swap the tables
|
||||
DROP TABLE users;
|
||||
-- Swap the tables.
|
||||
-- Keep the old table for now
|
||||
RENAME TABLE users TO users_old;
|
||||
RENAME TABLE users_new TO users;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user