Drizzle-Seed null values
Migration failed, and can't add new migration
Turso drizzle-kit CLI: Passing dbCredentials via CLI options
dbCredentials
part of the config via CLI, and if so, how to do it.
```
dbCredentials: {
url: process.env.TURSO_DATABASE_URL,...Knowing when drizzle finished Migration/Pushed.
``
await db.transaction(async (tx) => {
tx.run(sql
CREATE TRIGGER IF NOT EXISTS TRG_CT_INSERT_BACKUP...arrayOverlaps case insensitive
Use DB functions to format data on update e.g. DATE()
check(
"date_of_birth_check",
sql`(LENGTH(${table.date_of_birth}) <= 10 AND DATE(${table.date_of_birth}, '+0 days') IS ${table.date_of_birth})`,
),
check(
"date_of_birth_check",
sql`(LENGTH(${table.date_of_birth}) <= 10 AND DATE(${table.date_of_birth}, '+0 days') IS ${table.date_of_birth})`,
),
Time Mysql Formatting
hh:mm:ss.mmmmmm
( unsure if the last part is ms.
Just like in the following query result:
```Js
{
id: 2,...Many to Many to Many
Subquery within same table not working as expected
How to store Uint8Array in postgresql
npx drizzle-kit pull: pg driver but getting a `'./gel-core' is not defined by "exports"` error
pull
to generate my schema definitions...but get an error about the gel-core subpackage not being exported.
here is my config.
```import { defineConfig } from "drizzle-kit";...Do we have a way to connect to sqlite-cloud?
TypeScript suddenly not working anymore

neon database is not working

Migration not setting DB column to NOT NULL
Running db.execute on the read replica?
Column name `as string`, needed for performance?
as string
or as const
after the name. When I asked about it I was told this was needed for performance of the type system, and they didn't go into too much detail about it. Is that true? are these casts needed for the TS server to be able to keep up with all the types gymnastics in the library? Or can we safely remove them already?RLS doesn't work when managing policies with Drizzle?
src/schemas
directory. One of these files is dedicated for policies. Nothing crazy. Something like image 1.
userProfiles
for example is correctly being imported ✅, drizzle-kit check passes with flying colors ✅, a push or a migrate call runs smoothly ✅ and everything is being created in Supabase as expected ✅. Or so I think? 🤔 ...
Re-using a CTE and typing hell
Is it possible to do this transformation using `db.query`?
