@trycompai/db 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/schema.prisma +11 -0
  2. package/package.json +1 -1
@@ -124,6 +124,17 @@ model Verification {
124
124
  updatedAt DateTime @updatedAt
125
125
  }
126
126
 
127
+ // JWT Plugin - Required by Better Auth JWT plugin
128
+ // https://www.better-auth.com/docs/plugins/jwt
129
+ model Jwks {
130
+ id String @id @default(dbgenerated("generate_prefixed_cuid('jwk'::text)"))
131
+ publicKey String
132
+ privateKey String
133
+ createdAt DateTime @default(now())
134
+
135
+ @@map("jwks")
136
+ }
137
+
127
138
  model Member {
128
139
  id String @id @default(dbgenerated("generate_prefixed_cuid('mem'::text)"))
129
140
  organizationId String
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@trycompai/db",
3
3
  "description": "Database package with Prisma client and schema for Comp AI",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "dependencies": {
6
6
  "@prisma/client": "^6.13.0",
7
7
  "dotenv": "^16.4.5"