Can i use "uniqueIndex" for that?
TypeError: db.execute is not a function
Automatically convert binary to string
Drizzle-kit push - pgPolicy ignores using configuration
column is of type date but expression is of type text
column \"date_of_birth\" is of type date but expression is of type text
column \"date_of_birth\" is of type date but expression is of type text
Do prepared statement names matter?
Bun:SQLITE error with drizzle
How do I get types for relationship queries?
Filter based on join data
<student>.coach.fullname
where coach is added as a with
join. I would like to get every student that have a certain coach.Using relation columns in where clause (Drizzle playground provided)
column agent.deleted does not exist
. Why can't you reference relation columns in a top-level where clause? Is there a better way to do this without using the select
API with joins?...StatementTimeoutException: Request timed out
Self-referencing many to many relation
Using inferred schema types in Next.js client components, 'server-only' breaks Drizzle Studio.
How to set PRAMGA for Sqlite
Error: Unknown column 'c.GENERATION_EXPRESSION' in 'field list'

Using drizzle postgres with trpc in Next.js app
Module not found: Can't resolve 'dns'
. For some reason, my Next.js app is trying to load drizzle
on the client where it doesn't have access to Node modules. Has anyone ever run into this before?
```ts
import { publicProcedure, router } from "../trpc";...Cant get custom type to work with default value

pgTable This overload is deprecated. Use the other method overload instead.

Cannot read properties of undefined (reading 'endsWith')
export const user_provider_topics = pgTable( 'influencer_topics', { uuid: uuid().defaultRandom().primaryKey().notNull(),...
How to select a subset of fields from a JSONB?