pgsync icon indicating copy to clipboard operation
pgsync copied to clipboard

Table allowlist

Open Garrett-R opened this issue 1 year ago • 0 comments

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.

Garrett-R avatar Feb 19 '24 23:02 Garrett-R