Neon DB pooled connection prepared statement error
How to define schemas for friendship table
drizzle-zod refine enum
drizzle-zod
that I want to modify. As you can see, the role column is an enum, but I want to modify the error message as I did with email and password. I've tried several solutions but nothing works, could you help me?
```ts
export const roleEnum = pgEnum('role', ['USER', 'ADMIN'])
export const users = pgTable('users', {...It seems that the libsql server is outdated
"Seems like the schema generic is missing - did you forget to add it to your DB type?"
Select with a join that returns eagerly loaded submodels
role 'postgres' does not exist
How would I get 2 unique values?
Infinite scroll w/ Drizzle + tRPC
HRANA_WEBSOCKET_ERROR: Unexpected server response: 404

URL_INVALID
bun run push
but not when using npm run push
or pnpm run push
, resulting in LibsqlError: URL_INVALID: The URL is not in a valid format
because url is undefined?authToken=undefined
```TS
export default {
schema: "./src/db/schema.ts",....env
file automatically but node does not. You need you use dotenv
or something similar when using pnpm/npm/yarnCustom Logging: hide notice messages ?
Specifying single schema to push
`sql.join` with `ODER BY` leads to syntax error while the sql query seems correct.
How to run migration script?
Cannot get id field in the next-auth session.
How to express "children" or "parent" relation with typescript?
country
and region
tables. A region belongs to a country, so on the region
table, there's a foreign key country_id
to the country
table.
The question is if it is possible to have a Country type generated like this:
```...'token' used in key specification without a key length
token: varchar("token", { length: 255 })
because token: text("token")
giving issues when pushing. Why?
I'm using drizzle with planetscale....ER_TABLE_EXISTS_ERROR