11 lines
430 B
MySQL
11 lines
430 B
MySQL
|
|
-- Remove email verification and password reset columns from users table
|
||
|
|
ALTER TABLE users
|
||
|
|
DROP COLUMN IF EXISTS email_verification_token,
|
||
|
|
DROP COLUMN IF EXISTS email_verification_expires_at,
|
||
|
|
DROP COLUMN IF EXISTS reset_password_token,
|
||
|
|
DROP COLUMN IF EXISTS reset_password_expires_at;
|
||
|
|
|
||
|
|
-- Remove indices
|
||
|
|
DROP INDEX IF EXISTS idx_users_email_verification_token;
|
||
|
|
DROP INDEX IF EXISTS idx_users_reset_password_token;
|