{"id":13707080,"url":"https://github.com/joncrlsn/pgdiff","last_synced_at":"2025-05-05T23:32:04.068Z","repository":{"id":20538949,"uuid":"23818355","full_name":"joncrlsn/pgdiff","owner":"joncrlsn","description":"Compares the PostgreSQL schema between two databases and generates SQL statements that can be run manually against the second database to make their schemas match.","archived":false,"fork":false,"pushed_at":"2025-03-09T00:53:25.000Z","size":267,"stargazers_count":466,"open_issues_count":25,"forks_count":64,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-09T01:27:44.391Z","etag":null,"topics":["database","diff","diffing","go","postgresql-database","sql-generation"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joncrlsn.png","metadata":{"files":{"readme":"README-linux.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-09-09T03:41:34.000Z","updated_at":"2025-03-09T00:53:30.000Z","dependencies_parsed_at":"2025-03-09T01:25:42.313Z","dependency_job_id":"f3a3cb27-1593-438a-8ad3-5d3dda3dd7cc","html_url":"https://github.com/joncrlsn/pgdiff","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joncrlsn%2Fpgdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joncrlsn%2Fpgdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joncrlsn%2Fpgdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joncrlsn%2Fpgdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joncrlsn","download_url":"https://codeload.github.com/joncrlsn/pgdiff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252593309,"owners_count":21773441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","diff","diffing","go","postgresql-database","sql-generation"],"created_at":"2024-08-02T22:01:18.089Z","updated_at":"2025-05-05T23:32:02.824Z","avatar_url":"https://github.com/joncrlsn.png","language":"Go","readme":"## Linux pgdiff instructions\n\nThese instructions will guide you through the process of generating SQL, reviewing it, and optionally running it on the target database. It requires a familiarity with a Linux command-line shell.\n\n1. download pgdiff-linux-\\\u003cversion\\\u003e.tar.gz to your machine\n1. untar it (a new directory will be created: called pgdiff)\n1. cd into the new pgdiff directory\n1. edit pgdiff.sh to change the db access values... or set them at runtime (i.e. USER1=joe NAME1=mydb USER2=joe NAME2=myotherdb ./pgdiff.sh)\n1. run pgdiff.sh\n\n## tar contents\n* pgdiff - a linux executable\n* pgrun - a linux executable for running SQL\n* pgdiff.sh - a bash shell script to coordinate your interaction with pgdiff and pgrun\n\nIf you write a Go version of pgdiff.sh, please share it and I'll include it for others to use (with your copyright information intact). \n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoncrlsn%2Fpgdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoncrlsn%2Fpgdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoncrlsn%2Fpgdiff/lists"}