Skip to content

Commit dbd86aa

Browse files
authored
Merge branch 'main' into tofik/trust-center-security-questionnaire-doc
2 parents 7d92d59 + 906e555 commit dbd86aa

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [1.67.1](https://github.com/trycompai/comp/compare/v1.67.0...v1.67.1) (2025-12-05)
2+
3+
4+
### Bug Fixes
5+
6+
* **db:** add createdAt column to invitation model ([#1866](https://github.com/trycompai/comp/issues/1866)) ([44a18a2](https://github.com/trycompai/comp/commit/44a18a25facb8a07cd81da2d1f7023f9b7a419cf))
7+
18
# [1.67.0](https://github.com/trycompai/comp/compare/v1.66.0...v1.67.0) (2025-12-05)
29

310

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)