luckyframework / avram

A Crystal database wrapper for reading, writing, and migrating Postgres databases.
https://luckyframework.github.io/avram/
MIT License
165 stars 64 forks source link

Use postgres as the default setup db #1058

Closed jwoertink closed 3 months ago

jwoertink commented 3 months ago

Fixes #1056

When you setup a postgres server, 99.9% of the time the postgres db will exist. Made this a configurable option. As an alternative, you could use template0 or template1 to connect before any other DB is setup.