From 9a5eb0e43d0ad2d7269995fd560e2e336ccdeded Mon Sep 17 00:00:00 2001 From: Agusti Fernandez Pardo Date: Fri, 25 Mar 2022 20:07:15 +0100 Subject: [PATCH] fix: remove metadata:Json and add note:String instead in new apiKey model --- packages/prisma/schema.prisma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/prisma/schema.prisma b/packages/prisma/schema.prisma index e7b0e72c10..d57fa76dce 100644 --- a/packages/prisma/schema.prisma +++ b/packages/prisma/schema.prisma @@ -371,5 +371,5 @@ model ApiKey { user User? @relation(fields: [userId], references: [id], onDelete: Cascade) createdAt DateTime @default(now()) expiresAt DateTime @default(dbgenerated("NOW() + interval '30 day'")) - metadata Json? + note String? }