stripe / pg-schema-diff

Go library for diffing Postgres schemas and generating SQL migrations
MIT License
278 stars 20 forks source link

Specify user in pgengine #56

Closed bplunkett-stripe closed 11 months ago

bplunkett-stripe commented 11 months ago

Description

Before, if PGUSER was set on a user's machine, local tests would break because we didn't specify user. Now, the user is specified in the pgengine. This also switches the super user from the current user to postgres

Motivation

Improved UX when running tests

Testing

Unit tests