When using hanami-cli 2.1.1 with PostgreSQL, an error occurs when calling create_command. It seems that the error happens when specifying a PostgreSQL user, and there is no database with the same name as the user.
psql: error: connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: database "{{username}}" does not exist
When using hanami-cli 2.1.1 with PostgreSQL, an error occurs when calling create_command. It seems that the error happens when specifying a PostgreSQL user, and there is no database with the same name as the user.
https://github.com/hanami/cli/blob/5bfd953797fcc2ad7b91d3b94c912e017ff070a6/lib/hanami/cli/commands/app/db/utils/postgres.rb#L17