stripe / pg-schema-diff

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

Evaluate weird quirk of dependency system #84

Open bplunkett-stripe opened 6 months ago

bplunkett-stripe commented 6 months ago

There is a weird quirk of our graph system, where if a -> b and b -> c and b does-not-exist, b will be implicitly created s.t. a -> b -> c.

In the future, we should re-work our dependency system to somehow either: 1) Allow folks to opt-in to implicit dependencies on non-existent vertices 2) Get rid of the behavior entirely