fix(upgrade-scripts): correct postgres and mssql scripts