relations help
Do I need to close the DB connection after running a script using drizzle?
Error introspecting Supabase auth schema
auth
schema I get this error:
```
C:\app\node_modules.pnpm\[email protected]\node_modules\drizzle-kit\index.cjs:12431
name: tableCompositePkName[0].primary_key,...Issues with timestamp precision with postgres
date
, but it seems this issue runs deeper.
https://discord.com/channels/1043890932593987624/1043890932593987627/1136224592764080268
I am also using timestamp
which has a similar issue, when using mode string
drizzle is returning a Date
instance (conflicting with the generated types)...Relations not building into type
``ts
const todaysVisits = await db.query.visits.findMany({
where: sql
DATE(${visits.date}) = ${date.format("YYYY-MM-DD")}`,...JS API for generating CREATE TABLE sql?
CREATE TABLE
sql from table schemas?
My use-case: I'm writing tests, for which I would normally use an in-memory sqlite database, but I need to generate the tables in the DB as I would with drizzle-kit push
....Dont throw error if the relations is not correct
tsc fails to build due to errors
tsc
to compile the project to javascript, I am getting the following error:
```
Found 4 errors in 2 files.
Errors Files...trying out neon.tech should i use "Pooled Connection"?
Discrepancies Between Raw SQL Queries and ORM Operations: Why Might They Behave Differently?

I need help generating a query for a schema
Best way to omit a field (e.g. password) after findMany from schema?
How to implement interface for table?
onDuplicateKeyUpdate
drizzle weird error message on database operation

permission denied on insert
How can I reference the RelationalQueryBuilder and RelationalQuery types?
Dropping unique constraint cant push to db
nftCollectionIdKey: unique("Pool_nftCollectionId_key").on(
table.nftCollectionAddress
),
...I'm getting circular dependency problems because each table relation is declared from the table file

How do I import a type?
posts
, I'd expecect to be able to import a Post
type to be used in one of my child components.
Is this possible with Drizzle? Or have you all found it to be unnecessary...