[ERROR] ReferenceError: fs is not defined
at exports.connect (/usr/src/app/node_modules/db-migrate-pg/index.js:705:46)
at connect (/usr/src/app/node_modules/db-migrate/lib/driver/index.js:93:12)
...
It also looks like db-migrate-pg is expecting ssl config to be file instead of variables. This is not the case on our use case as we store sslcert and sslkey in secrets as a value instead of a file.
Hi and thank you for building this library.
When running db-migrate with the following config
we get
This is due to fs not being initialised but used here: https://github.com/db-migrate/pg/blob/master/index.js#L704
It also looks like db-migrate-pg is expecting ssl config to be file instead of variables. This is not the case on our use case as we store sslcert and sslkey in secrets as a value instead of a file.
Thanks!