BEGIN;

ALTER TABLE recording_depletions
    DROP CONSTRAINT IF EXISTS chk_recording_depletions_pending_zero;

ALTER TABLE recording_depletions
    DROP COLUMN IF EXISTS total_used_qty;

ALTER TABLE recording_depletions
    DROP COLUMN IF EXISTS usage_qty;

COMMIT;
