Durable Object example weird import
import migrations from '../drizzle/migrations';
which i dont get?
Inside my drizzle folder i have the migration files *.sql and a meta folder. Where does the migrations file come from?
...Error in Drizzle.studio

Is there any easy way to query both total count and pagination result?
Hitting connection limits using Pgbouncer
Relationships not working? (Simplest one-one relationship)
Can't get Drizzle working in turborepo as package
Resolve drizzle-kit push wanting to truncate tables which do not need to be truncated
drizzle-kit push
wanting to truncate by tables because it wants to change from bigint(20)
to bigint
?
```
Warning Found data-loss statements:
· You're about to change id column type from bigint(20) to bigint with 1 items...What does .all() do?
reference table name as const
getTableConfig(tableName).name
returns the name as a string, while tableName._.name
does not exist in runtime. Hopefully there's something that combines both, without needing for manual typecasting.can someone help me with this relation?
Drizzle Studio bug report with error context, local libsql.
Using prisma to select columns not returning what I'm passing
Introspect on a Supabase project -> non existing `userInAuth` relation
drizzle-kit introspect
on an extremely simple project, with little more than user authentication. Everything seems to work fine, but the generated relations.ts
tries to import and use userInAuth
from the generated schema.ts
But that it's not exported ( or created ) in schema.ts
.
I believe that has something to do with Supabase having an auth schema, that has a relation with the users table I'm using on the public schema.
But, how I'm supposed to manage this structure with Drizzle? ...drizzle-zod insert/update schema refinements type
Double Slash in Path Causes ENOENT Error When Running Migrations in Docker
ENOENT: no such file or directory, open './/app/apps/my-app/src/drizzle/meta/0000_snapshot.json'
The file exists at the correct path (/app/apps/my-app/src/drizzle/meta/0000_snapshot.json), but the double slash seems to be causing the issue. Here’s what I’ve tried so far:
...do I still need to use drizzle-kit?
update many to many relationship
TypeScript Error: Circular Reference in Drizzle ORM Schema
rewrite with db.query