TonicAI / condenser

Condenser is a database subsetting tool
https://www.tonic.ai
MIT License
312 stars 48 forks source link

example-config shows wrong form for excluded_tables option #10

Closed gannicottb closed 5 years ago

gannicottb commented 5 years ago

From example-config.json

"excluded_tables": [
        {"schema": "public","tables": [ "table_of_keys"] }
    ],

This does not work, however. The code expects:

"excluded_tables": ["schema.table1", "schema.table2", ...]

The example-config.json should be updated to be correct. I suspect the example passthrough_tables option is similarly out of date.

acolombi commented 5 years ago

Thanks for pointing this out. I've corrected the docs.