Closed purge closed 4 years ago
While this behaviour is documented, if you define DATABASE_OWNER or DATABASE_NAME as placeholders graphile-migrate should warn that it is going to overwrite them, otherwise it can lead to some unexpected behaviour.
DATABASE_OWNER
DATABASE_NAME
Indeed, I think it should check to see if the envvars are set; and if so, if they differ it should throw an error.
While this behaviour is documented, if you define
DATABASE_OWNER
orDATABASE_NAME
as placeholders graphile-migrate should warn that it is going to overwrite them, otherwise it can lead to some unexpected behaviour.