10 lines
430 B
SQL
10 lines
430 B
SQL
-- 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;
|