Atahualpa
Atahualpa
DTDrizzle Team
Created by Lloyd on 6/11/2024 in #help
Top-level await in drizzle.config.ts
but yeah all of this would not be a problem if we just had top level await on the drizzle config 😢
13 replies
DTDrizzle Team
Created by Lloyd on 6/11/2024 in #help
Top-level await in drizzle.config.ts
No description
13 replies
DTDrizzle Team
Created by Lloyd on 6/11/2024 in #help
Top-level await in drizzle.config.ts
No description
13 replies
DTDrizzle Team
Created by Lloyd on 6/11/2024 in #help
Top-level await in drizzle.config.ts
whenever I initialize it
13 replies
DTDrizzle Team
Created by Lloyd on 6/11/2024 in #help
Top-level await in drizzle.config.ts
No description
13 replies
DTDrizzle Team
Created by Lloyd on 6/11/2024 in #help
Top-level await in drizzle.config.ts
for that...so, i don't use the drizzle.config.ts for the db credentials
13 replies
DTDrizzle Team
Created by Lloyd on 6/11/2024 in #help
Top-level await in drizzle.config.ts
ohhh
13 replies
DTDrizzle Team
Created by Lloyd on 6/11/2024 in #help
Top-level await in drizzle.config.ts
My workaround has been so far to fetch the secrete at build time and pass it down as an env variable. That way i don’t have to store and env file.
13 replies
DTDrizzle Team
Created by younes on 9/23/2024 in #help
migration best practice
That depends on your schema. You can probably google or ask AI but essentially it’s something like “update tablename set column = whatever where column is null
5 replies
DTDrizzle Team
Created by younes on 9/23/2024 in #help
migration best practice
What I’ve done is to modify the sql that is generated by the migration and add a filler value for all that are null. If you want non null I guess there is already a default value you had in mind ? That way by the time the sql file gets to the non null alter statement nothing is null Id love to know what other people do for this though 🙂
5 replies