ragokan
Explore posts from serversDTDrizzle Team
•Created by ragokan on 10/4/2024 in #help
How can I get warning when creating "Migration" with non nullable field
When I generate migration using the command
drizzle-kit generate --config ./drizzle.config.ts
I don't get any warnings for new fields that is non nullable. Shouldn't it warn me or ask for a default value?
The generated SQL:
Config has these options
10 replies
PPrisma
•Created by ragokan on 9/6/2024 in #help-and-questions
Start Prisma Studio Programatically
Is there any way to run Prisma Studio programatically? So that I can wrap it with Auth middleware and protect?
4 replies