BEGIN;

ALTER TABLE payments
    ALTER COLUMN bank_id SET NOT NULL;

COMMIT;
