diff --git a/packages/hoppscotch-backend/prisma/schema.prisma b/packages/hoppscotch-backend/prisma/schema.prisma index b24ea3f05..d3f8512a9 100644 --- a/packages/hoppscotch-backend/prisma/schema.prisma +++ b/packages/hoppscotch-backend/prisma/schema.prisma @@ -74,6 +74,7 @@ model Shortcode { creatorUid String? User User? @relation(fields: [creatorUid], references: [uid]) createdOn DateTime @default(now()) + updatedOn DateTime @updatedAt @@unique(fields: [id, creatorUid], name: "creator_uid_shortcode_unique") }