You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npx pgen exec ./database/models-template --target ./database/models
Then it asks me for username and password like it is ignoring the ENV file. I am using the exact same one as given in the example in the docs, with the added DB_PORT.
Node: 12.22.12
npm: 6.14.16
pg: 4.8.3
Even if I put them correctly, it says connection refused, so I assume it is just ignoring all parameters. Not sure if this is because my models are not in the root of the project. Also, this script is added into the package.json. I am also running mac.
The text was updated successfully, but these errors were encountered:
If I run the process like:
npx pgen exec ./database/models-template --target ./database/models
Then it asks me for username and password like it is ignoring the ENV file. I am using the exact same one as given in the example in the docs, with the added DB_PORT.
Node: 12.22.12
npm: 6.14.16
pg: 4.8.3
Even if I put them correctly, it says connection refused, so I assume it is just ignoring all parameters. Not sure if this is because my models are not in the root of the project. Also, this script is added into the package.json. I am also running mac.
The text was updated successfully, but these errors were encountered: