-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for DATABASE_URL? #381
Comments
Also, any chance pgtyped could support .env files? Right now it's hard to use |
@uhoh-itsmaciek You can handle the "pgtyped": "node -r dotenv/config ./node_modules/.bin/pgtyped -wc config.json", |
@tbo oh that's great, thanks! I looked at using I'd still love to have pgtyped fall back to DATABASE_URL if PGURI is not set. Happy to contribute a patch. |
@uhoh-itsmaciek A PR to use |
Hi,
Just started with pgtyped and really enjoying it so far. Would you consider a PR to add DATABASE_URL support as an alias for PGURI? Many tools already support this.
Thanks,
Maciek
The text was updated successfully, but these errors were encountered: