Files
HiveGrid-Wireframes/hivegrid-cloud/prisma/migrations/20260508130000_user_totp_mfa/migration.sql
T

6 lines
317 B
SQL

-- Add nullable encrypted TOTP enrollment state to existing users.
ALTER TABLE "User" ADD COLUMN "totpSecretEncrypted" TEXT;
ALTER TABLE "User" ADD COLUMN "totpPendingSecretEncrypted" TEXT;
ALTER TABLE "User" ADD COLUMN "totpEnabledAt" TIMESTAMP(3);
ALTER TABLE "User" ADD COLUMN "totpPendingCreatedAt" TIMESTAMP(3);