9 lines
315 B
SQL
9 lines
315 B
SQL
-- Remove indexes
|
|
DROP INDEX IF EXISTS idx_customers_password_hash;
|
|
DROP INDEX IF EXISTS idx_customers_phone_number;
|
|
|
|
-- Remove added columns
|
|
ALTER TABLE customers DROP COLUMN IF EXISTS birth_date;
|
|
ALTER TABLE customers DROP COLUMN IF EXISTS phone_number;
|
|
ALTER TABLE customers DROP COLUMN IF EXISTS password_hash;
|