added the route

This commit is contained in:
daniel31x13
2024-06-26 21:38:34 -04:00
parent 586074ef43
commit 239589eaed
10 changed files with 185 additions and 41 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "AccessToken" ADD COLUMN "isSession" BOOLEAN NOT NULL DEFAULT false;
+1
View File
@@ -175,6 +175,7 @@ model AccessToken {
userId Int
token String @unique
revoked Boolean @default(false)
isSession Boolean @default(false)
expires DateTime
lastUsedAt DateTime?
createdAt DateTime @default(now())