6 lines
317 B
SQL
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);
|