START TRANSACTION;

ALTER TABLE quota_request
    ADD COLUMN IF NOT EXISTS unbalanced BOOLEAN NOT NULL DEFAULT FALSE;

CREATE INDEX IF NOT EXISTS quota_request_unbalanced_id ON quota_request (unbalanced, id);

COMMIT;
