Another PostgreSQL Diff Tool is useful for comparison/diffing of database schemas.
The schemas are compared based on database dumps created by using pg_dump
. So
for the actual comparison, there is no direct database access required.
Since the JVM build is faster than the other targets it should be used for local testing to have faster roundtrips.
./gradlew installJvmDist
./build/install/apgdiff-jvm/bin/apgdiff --help
To see available run tasks for other build targets run:
./gradlew run
The executable in the docker image is a native binary created with Kotlin Multiplatform, so there is no need for a JVM. The docker image is built for amd64 and arm64 platforms.
./gradlew buildDockerImage
docker run --rm lovelysystems/apgdiff:dev --help
This project is a kotlin rewrite of https://github.com/netwo-io/apgdiff . The original project can be found ot https://www.apgdiff.com/.