We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ffdf7d0 + 60d121d commit e6573f7Copy full SHA for e6573f7
drizzle-orm/src/pg-core/README.md
@@ -381,7 +381,7 @@ const publicUsersTable = pgTable('users', {
381
id: serial('id').primaryKey(),
382
name: text('name').notNull(),
383
verified: boolean('verified').notNull().default(false),
384
- jsonb: jsonb<string[]>('jsonb'),
+ jsonb: jsonb('jsonb').$type<string[]>(),
385
createdAt: timestamp('created_at', { withTimezone: true }).notNull().defaultNow(),
386
});
387
@@ -393,7 +393,7 @@ const usersTable = mySchema.table('users', {
393
394
395
396
397
398
399
```
0 commit comments