schultek / stormberry

Access your postgres database effortlessly from dart code.
https://pub.dev/packages/stormberry
MIT License
68 stars 17 forks source link

bug: readme updated with correct DB_HOST_ADDRESS key #29

Closed kylehayes closed 2 years ago

kylehayes commented 2 years ago

When attempting to run stormberry migrate with all the documented environment variables set, migrate was still attempting to use 127.0.0.1. Looking at the source in lib/src/core/database.dart the environment variable is named DB_HOST_ADDRESS not DB_HOST. It is more common to use the latter but a README documentation change seemed appropriate here in case the variable name is intentional.

kylehayes commented 2 years ago

Pushed an update that clarifies the defaults as well.

schultek commented 2 years ago

Thanks. 🙏