[FEATURE] Add support for excluding tables

Open
#197 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
go, postgres
Domain
databases

Research direction

No files, tests, or entry points are named. Start by reading issue #195 and locating the existing schema-exclusion behavior in the Go code; determine how table exclusions and the proposed grammar should fit together. Done means table exclusions are supported with documented matching behavior and coverage for the relevant cases.

Written by the indexing model from the issue text.

Description

enhancement

Describe the feature
Provide a thorough description of the feature. If possible, include examples of the feature and its behavior. For example, if it's a new command flag, provide examples of using the command flag and expected outputs.
Just like schemas, some tables may need to be excluded from the migration plan. Because exclusion will probably get pretty complex, we may want to create some predefined grammar to avoid parameter explosion:

--exclude 'type=[schema|table] name="regex"'

*Motivation
Describe why you want this feature. This is important for assessing the priority of the feature and if alternative solutions exist.
https://github.com/stripe/pg-schema-diff/issues/195

Dominant language
Go
Stars
884
Forks
82
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stripe/pg-schema-diff

All issues in stripe/pg-schema-diff

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.