ddl-diff

Generates SQL migrations by parsing and diffing DDL (by cbowdon)

Ddl-diff Alternatives

Similar projects and alternatives to ddl-diff

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ddl-diff alternative or higher similarity.

ddl-diff reviews and mentions

Posts with mentions or reviews of ddl-diff. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-29.
  • PRQL a simple, powerful, pipelined SQL replacement
    19 projects | news.ycombinator.com | 29 Dec 2022
    So, after digging about in the docs, I found the Best Practices[0] page which lays out what you describe. I was disappointed to find it is just using idempotent creation statements for procedures and views and putting them all in files that are re-run on each migration step-along with each new roll forward migration-so that new versions of these logic objects replace any old ones. This is not exactly something that liquidbase provides, should be easily replicatable, and I was hoping it'd do diffs to provide similar experience on tables as well.

    After some web searching, I came across a project[1] that's trying to do what I describe but it appears to be dead. I'm surprised that migration tools (that I looked through) don't already support such a basic approach that I suspect I'm missing something obvious. Some fundamental block in how SQL works or maybe it doesn't work that well in practice for, in concept, it sounds easy to script using what they call a shadow db and `pg_diff`.

    [0]: https://docs.liquibase.com/concepts/bestpractices.html

    [1]: https://github.com/cbowdon/ddl-diff

Stats

Basic ddl-diff repo stats
1
2
10.0
over 6 years ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com