BEGIN;

DROP INDEX IF EXISTS idx_adjustment_stocks_function_code;
DROP INDEX IF EXISTS idx_adjustment_stocks_transaction_type;

ALTER TABLE adjustment_stocks
    DROP COLUMN IF EXISTS grand_total,
    DROP COLUMN IF EXISTS price,
    DROP COLUMN IF EXISTS function_code,
    DROP COLUMN IF EXISTS transaction_type;

COMMIT;
