Skip to content

Commit

Permalink
feat: add isPlatformManaged property to user
Browse files Browse the repository at this point in the history
  • Loading branch information
supalarry committed Mar 25, 2024
1 parent bec1453 commit c364679
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "users" ADD COLUMN "isPlatformManaged" BOOLEAN NOT NULL DEFAULT false;
1 change: 1 addition & 0 deletions packages/prisma/schema.prisma
Expand Up @@ -300,6 +300,7 @@ model User {
movedToProfileId Int?
movedToProfile Profile? @relation("moved_to_profile", fields: [movedToProfileId], references: [id], onDelete: SetNull)
secondaryEmails SecondaryEmail[]
isPlatformManaged Boolean @default(false)
@@unique([email])
@@unique([email, username])
Expand Down

0 comments on commit c364679

Please sign in to comment.