[Feature Request] Add option to show missing tables
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 3.5k
- Forks
- 219
- PR merge metrics
- No merged PRs in 30d
Description
pgsync will tell you missing tables in the output
Example:
To show a list of different tables. comparing the missing ones from source in target, it would be much appreciate it if we can do
pgsync --list --diff
Since --schema-first & --schema-only wipes out the existing data in target DB, and pgsync will not sync data if target tables are missing it will make sense to be able to do
pgsync --schema-first $(pgsync --list --diff)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the CLI handling for --list and --diff, then trace how missing tables are identified between the source and target databases. Confirm the finished behavior lists the missing tables and that the output can be used with the proposed --schema-first command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, ruby
- Domain
- cli, databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 47/100