Skip to content

lovelysystems/apgdiff

Repository files navigation

Experimental Kotlin Rewrite of apgdiff

CircleCI Docker Image Version

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.

Install and run locally

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

Build and run Docker Image

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

Credits

This project is a kotlin rewrite of https://github.com/netwo-io/apgdiff . The original project can be found ot https://www.apgdiff.com/.

About

Kotlin-native CLI for diffing PostgreSQL database schemas from pg_dump files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages