Migrations are not run in order
sql magic operator with dates?
CASE ... THEN
postgres syntax, this forced us to use the sql magic operator.
Is there a way to integrate the sql magic operator with the timestamp
type or with other custom types?
sql`WHEN ${where} THEN ${value}`
sql`WHEN ${where} THEN ${value}`
LibSQL type errors when using `drizzle-orm/libsql` import
tsc src/index.ts
.
If I just ignore them and fire up the container, I can get my TypeScript to build, but when I try to call the function, I see errors importing the libsql client library provided by the drizzle-orm package. Any ideas what might be happening here?...
For update skip locked
Schema out of sync
ON DELETE CASCADE
clause in the code that is not set at the DB level. Is there any way to ask drizzle to sync the code and the DB schema? Trying to generate a migration does not do the trick.Filtering out tables during introspection
_vrepl
tables in my database. Is there a way to filter out tables ending in _vrepl
during drizzle-kit pull
?Optionally migrate a table.
`drizzle-kit pull` v0.28.0 generating faulty schema file
drizzle-kit pull
generates an incorrect schema file. Ex:
```
export const inviteCodes = mysqlTable("invite_codes", {
id: varchar({ length: 255 }).notNull(),...Struggling with simple subquery statement in Drizzle
With Query mode, is possible filter by a related table?
Composite Primary Key?
Best column type for storing a small WAV file in Postgres
Rollback not happening on tx.rollback() [PG DRIVER]
Drizzle studio not recognising new schemas
Drizzle & Neon low latency
TypeError: client.migrate
TypeError: client.migrate is not a function
with Kysely + Drizzle Kit + Turso + Bun + Nextjs when I drizzle-kit push
.
My config (in the root of nextjs project):
```
import { defineConfig } from "drizzle-kit";...Issues Using RLS with Supabase Through Drizzle

SQLite insert schema does not include nullable columns?
[Postgres] PostgresError: type X already exists.
PostgresError: type "media_types" already exists
PostgresError: type "media_types" already exists
CREATE TYPE "public"."media_types" AS ENUM('image', 'video');--> sta
...Drizzle-kit not working as expected