db-migrate / node-db-migrate

Database migration framework for node
Other
2.32k stars 360 forks source link

Fixed Environment Variable Bug #810

Open matweaver7 opened 1 year ago

matweaver7 commented 1 year ago

Fixed issue when processing boolean environment variables.

On postgres (pg driver) and probably others, there is a bug when you try to do booleans. The drivers are checking if(self.ssl){ //do stuff }`

Since you are passing them a string instead of a boolean when reading the environment variables it always passes. This Fixes that.