2026-05-04 16:23:29 +07:00
|
|
|
-- Remove source column from orders
|
|
|
|
|
ALTER TABLE orders DROP COLUMN IF EXISTS source;
|
|
|
|
|
|
|
|
|
|
-- Remove token column from tables
|
|
|
|
|
DROP INDEX IF EXISTS idx_tables_token_active;
|
|
|
|
|
DROP INDEX IF EXISTS idx_tables_token;
|
|
|
|
|
ALTER TABLE tables DROP COLUMN IF EXISTS token;
|