DT
Drizzle Teamarxpoetica
`drizzle-kit --custom` is not giving me a blank migration file
I'm doing the following:
But it's not giving me a blank migration sql file. It's just doing nothing:
Am I misunderstanding what
--custom
is supposed to do? Is this a bug I should report? What am I doing wrong?MAST•196d ago
From my understanding
--custom
is when you want to write a custom migration file without drizzle-kit
generating anything.Angelelz•195d ago
--custom
should create a blank *.sql
file in your migration folder. If it's not doing that, ti might be a bugarxpoetica•182d ago
Yeah, it's not doing it, though I haven't tried since the 4th. I'll check it out and if it's still doing it, report it
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
7.4KMembers
View on DiscordWant results from more Discord servers?
More PostsNo id returned (mysql2)```
async function create(data: NewBusiness) {
return client.insert(business).values(data)
}
```
Studio when using Turso `Error: Cannot find module 'better-sqlite3'`Error when trying to start Studio and push
`Error: Cannot find module 'better-sqlite3'`[BUG]: React Hook Form doesn't submit when using drizzle-zod to create schemes to use in zodResolverWhen using `drizzle-zod` to generate schemas from database schemas and using them in the `useForm` rAppending SQL chunks to a queryHey everyone, I'm trying to see if there is a way where I can build SQL queries conditionally (basedPostgresjs with Neon giving connnection refusal errorI am unable to connect to my neon database. I tried using `postgresjs` and the `neon serverless` drierror: column "id" cannot be cast automatically to type uuidim using drizzle, and this is my schema:
```typescript
export const tags = pgTable("tags", {
id: uinArray() using sql`` operator in JS and PostgresHey, how do I use sql operator with arrays in JS?
```javascript
const array = [1,2,3];
const sqlQuerUnable to infer relationI have the following tables and relations:
```javascript
export const platforms = pgTable('platforms