DT
Drizzle Team
help
Recommended Posts
Typescript build fails with large number of columnsI have a table with ~460 columns, and on trying to run typescript on my app, I'm getting "error TS25many-to-one transactionHello,
I want to create transaction involving arbitrary number of inserts. For example, Artist (one[Bug] Postgres migrations are broken on 0.23.10Re-running the same postgres migration twice just throws an error that a particular table already exdrizzle-kit doesn't pull foreign keys from supabase/postgres?It's hard to really turn this into a proper bug report because, honestly, with Supabase there could Why does drizzle-zod create ZodString's instead of z.ZodStrings for mySQL?I was testing out drizzle-zod for mySQL, and I know it's still actively being worked on. It seems liQuery for Prisma like insert in multiple joined tablesIs there a way to achieve insert in multiple tables joined by foreign keys in one query like Prisma?How to filter length in where for postgres?I have a text field, which I want to select only if it's length is higher than 50. How should I do tIs there currently a way to utilize onUpdate?Trying to run `ON UPDATE NOW()` for a `last_updated` column for whenever the row is changed.Migrations not working on github actionsAny suggestions to debug this on actions? Is it possible that the database is not created?"The supplied SQL string contains more than one statement" after running "generate:sqlite"I just updated one of my schemas with a few columns and now my project is broken.
This is the gener[bug] Some sql statement looks broken when bulk insert```ts
await db.insert(users)
.values(
{
name: 'Andrew',
createdAt: new Date(),
Return first or throwI have a hard time believing this hasn't been asked yet, but my search results have yet to yield anyCan't find meta/_journal.json file when running migrateTrying to run `migrate()` from a lambda function and I can't figure out why it's unable to find the Wrong type on decimalsHello, I have encountered something interesting. The first screenshot shows what I'm inserting into CheckHello there, from this discussion: https://discord.com/channels/1043890932593987624/1090486363251544"Extend" tables by other tablesHey all,
first of all great work with drizzle.
Haven't had the time to play around with it so far. Bmaximum call stack exceededWeird bug where whenever I add a `where` `eq` clause getting maximum call stack exceededDrizzle recommended way to migrate resetApologies if this is a stupid question, I just recently migrated out of prisma and into drizzle. Onecompound uniqueIndexIn Prisma, I have in my schema definition the following declaration that requires userId and timestaplanetscale: how to index col using drizzle?Hi, seems most of the samples are pg. I'm using planetscale, and no having any luck figuring out how