drizzle-kit throwing await is not available in the configured target environment
[Bug] Postgres migrations are broken on 0.23.10

drizzle-kit doesn't pull foreign keys from supabase/postgres?
Why does drizzle-zod create ZodString's instead of z.ZodStrings for mySQL?
Query for Prisma like insert in multiple joined tables
Iterator for result set
How to filter length in where for postgres?
where length(item.content) >= 50
to Drizzle.Is there currently a way to utilize onUpdate?
ON UPDATE NOW()
for a last_updated
column for whenever the row is changed.Migrations not working on github actions

"The supplied SQL string contains more than one statement" after running "generate:sqlite"
``sql
ALTER TABLE projects ADD
project_id` integer;...[bug] Some sql statement looks broken when bulk insert

Return first or throw
Can't find meta/_journal.json file when running migrate
migrate()
from a lambda function and I can't figure out why it's unable to find the _journal.json
file. My structure is in the attached image.
In db.ts
, I'm calling this migrate
function like so:
```ts...
Wrong type on decimals

Check
check
constraint?
```ts...cascades
.references()
to set up foreign keys in a table definition, but how do you set up cascades?jsonb field definition.
type MetaData = {keywords?: string[];}
and a field meta: jsonb<MetaData>("meta")
, but I'm getting the typescript warnings Type 'PgJsonbBuilderInitial<MetaData>'
is not assignable to type 'AnyPgColumnBuilder'.ts(2322)
on the lhs and Type 'MetaData' does not satisfy the constraint 'string'.ts(2344)
on the rhs. Thanks in advance."Extend" tables by other tables
maximum call stack exceeded
where
eq
clause getting maximum call stack exceededDrizzle recommended way to migrate reset
yarn prisma migrate reset
when we wanted to reset our DB.
Is there a drizzle equivalent way to do that?...