PostgreSQL migration visualizer - Transform SQL schema changes into weighted directed graphs using AST parsing and graph theory.
- See the project board
- Visualize schema evolution over time
- Build dependency graphs from migration scripts
# Build the Docker image
docker build -t pg_migration_graph .
# Then you can manually run the compiled executable
docker run --rm pg_migration_graph "<SQL>"
# Memory debugging
docker run --rm --entrypoint valgrind pg_migration_graph --leak-check=full /app/pg_migration_graph.out "<SQL>"src/- Source codetests/- Testing methodology
Run the tests with:
make test- libpg_query - C library for accessing the PostgreSQL parser outside of the server environment
- jansson - C library for encoding, decoding and manipulating JSON data