Skip to content

Commit 625e5d0

Browse files
committed
chore: merge main into release for new releases
2 parents c3e7953 + 44a18a2 commit 625e5d0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-- AlterTable: Add createdAt column to Invitation model
2+
ALTER TABLE "Invitation" ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP;
3+

packages/db/prisma/schema/auth.prisma

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ model Invitation {
122122
expiresAt DateTime
123123
inviterId String
124124
user User @relation(fields: [inviterId], references: [id], onDelete: Cascade)
125+
createdAt DateTime @default(now())
125126
}
126127

127128
// This is only for the app to consume, shouldn't be enforced by DB

0 commit comments

Comments
 (0)