-- Make groupId optional on OtpChallenge so member re-login challenges -- (which have no group context) can be created without a groupId. ALTER TABLE "OtpChallenge" ALTER COLUMN "groupId" DROP NOT NULL;