Skip to content

Commit

Permalink
deviceId -> lastUsedDeviceId
Browse files Browse the repository at this point in the history
  • Loading branch information
realmayus committed Oct 10, 2024
1 parent dd3dee3 commit d38bd8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- AlterTable
ALTER TABLE "secret" ADD COLUMN "deviceId" VARCHAR;
ALTER TABLE "secret" ADD COLUMN "lastUsedDeviceId" VARCHAR;
2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ model secret {
// For EMAIL_TOKENs, contains the email the token is sent to. Can be used to confirm additional email addresses
// (i.e. during email address change)
description String? @db.VarChar
deviceId String? @db.VarChar // the permanent device identifier this secret was last used on
lastUsedDeviceId String? @db.VarChar // the permanent device identifier this secret was last used on
}

// DEPRECATED: Used by our old ORM to track migrations, to be removed once Prisma Migrations work reliably
Expand Down

0 comments on commit d38bd8c

Please sign in to comment.