DT
Drizzle TeamBot Dev
Naming Migrations
how do i set a name for a new migration when running
drizzle-kit generate:mysql
? i tried setting a flag like --tag=new_migration
or --name=new_migration
. i wouldn't want to rename them manually afterwards everytime 😄BD
Bot Dev•11d ago
is this a feature that is missing?
H
hkg•11d ago
yes, it's missing - coming to the nearest release of drizzle-kit
(https://discord.com/channels/1043890932593987624/1124768693549797416/1231991668270698627)
BD
Bot Dev•8d ago
awesome!! looking forward to it ❤️
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
7.2KMembers
View on DiscordWant results from more Discord servers?
More Posts[postgres][zod] createInsertSchemaHey! Trying to make my Sveltekit form schema.
Here is my example:
```export const userAccessesFormSUse schema definition as normal typesI want to use my schema definition as a normal type. Basically what .select().from() returns - plainWhat is a recommended way to execute migration on CI ?Build facilities for migration assume it happens during app execution I don't sure it a good idea anStruggling when changing tables relationships or columnsI find myself getting errors such as quite regularly
[cause]: [ResponseError: SQLite error: no suchHow can I get rid of the buffer object returned when using Magical sql operator?This is and example of how I execute the query:
```ts
const id = 69;
await db.execute(sql`select * fField 'email' doesn't have a default with connection pool in MySQL```
[next-auth][error][adapter_error_createUser]
https://next-auth.js.org/errors#adapter_error_creatabje.js exports not defined in table.d.tsIs there any reason why the table.d.ts is not matching with the table.js file?
table.js has these exHow not to exceed the max connections limit in the DB in a Serverless env like AWS lambda?[question] What is the recommended way to use drizzle in a serverless environment like AWS lambda -