Skip to content

Commit

Permalink
migration
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamics committed Mar 13, 2024
1 parent b2bdae3 commit 24b611a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "APIToken" ADD COLUMN "apiAuthorizationType" JSONB;
2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ model APIToken {
name String
token String @unique
userId String
apiAuthorizationType Json
apiAuthorizationType Json?
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
createdAt DateTime @default(now())
expiresAt DateTime? // null means it never expires
Expand Down

0 comments on commit 24b611a

Please sign in to comment.