stripe / pg-schema-diff

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

Online check constraint addition #76

Closed bplunkett-stripe closed 9 months ago

bplunkett-stripe commented 9 months ago

Description

This was a pretty low-hanging fruit. We now add all check constraints as invalid and then validate them. This allows us to build check constraints "online".

Motivation

Closes #66

Testing

Tested with unit tests

bplunkett-stripe commented 9 months ago

r?