[go: up one dir, main page]

Skip to content

anon.sh removes the sequence values

I changed my anonymizer script to append the sequences from the non-anonymized dump like so:

cat dump.sql mask.sql | docker run --rm -i registry.gitlab.com/dalibo/postgresql_anonymizer /anon.sh > anon-dump.sql
cat dump.sql | grep setval >> anon-dump.sql
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information