Bigbill04
DTDrizzle Team
•Created by Amur on 7/7/2023 in #help
Create database if not exists
I wanted a similar behavior as well because I was coming from Elixir's Ecto library where it handles it for you when you run
mix ecto.create
3 replies
DTDrizzle Team
•Created by Amur on 7/7/2023 in #help
Create database if not exists
FWIW I wrote a node script to create the database using postgresjs:
reset-db.js
And I added a script to my package.json file were I call it for local development.
package.json
3 replies