Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table allowlist #210

Open
Garrett-R opened this issue Feb 19, 2024 · 0 comments
Open

Table allowlist #210

Garrett-R opened this issue Feb 19, 2024 · 0 comments

Comments

@Garrett-R
Copy link

I was hoping to allowlist the tables I want sync in .pgsync.yml, something like:

tables:
  - table1
  - table2

Workarounds

  • I could do pgsync table1,table2, but I worry that someone by mistake does just pgsync and then syncs we don't want synced, thus overwriting data.
  • I could add a blocklist (exclude), but I worry that someone adds a new user-data table and forgets to add it there and then it gets overwritten.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant