5 lines
216 B
MySQL
5 lines
216 B
MySQL
|
ALTER TABLE users DROP COLUMN IF EXISTS is_deleted;
|
||
|
ALTER TABLE users DROP COLUMN IF EXISTS deleted_on;
|
||
|
|
||
|
DROP INDEX IF EXISTS users_username_idx;
|
||
|
ALTER TABLE users ADD CONSTRAINT users_username_key UNIQUE (username);
|