medic / cht-sync

Data synchronization between CouchDB and PostgreSQL for the purpose of analytics.
GNU General Public License v3.0
4 stars 5 forks source link

fix(#139): only rebuild tables and views on startup #140

Closed witash closed 3 months ago

witash commented 3 months ago

closes(#139)

this excludes tables (and views) from the continuous run. If the definition changes, they will be caught by the full-refresh but otherwise new data in the source won't be reflected.

Which may not be what is intended. To solve the refresh issue, probably better to have them as materialized views.

witash commented 3 months ago

will keep the behavior with tables as is, and recommend that materialized views be used instead