Search
Setup for Free
DT
Drizzle Team
•
3y ago
Amur
Create database if not exists
Is there a way to have create a database if it not exists
? After i create my schema and a run the first migration
, i would expect drizzle to create a database that
's specified in my connection string if it doesn
't exist
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,800
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
Insert IF NOT EXISTS
DT
Drizzle Team / help
14mo ago
User exists when no users are in database
DT
Drizzle Team / help
2y ago
Is it normal for drizzle to generate SQLs without "IF NOT EXISTS"?
DT
Drizzle Team / help
2y ago
Select EXISTS
DT
Drizzle Team / help
3y ago