diff --git a/scripts/deploy-preflight.ts b/scripts/deploy-preflight.ts index 9ab7e44..826879b 100644 --- a/scripts/deploy-preflight.ts +++ b/scripts/deploy-preflight.ts @@ -177,7 +177,7 @@ try { throw new Error(`groceries schema grants are wrong: ${JSON.stringify(groceries)}`); // Public /stats section: open data, so the app role (and the host-side stats collector, which // uses it) reads and writes, and personal_ro may read. Bump the count with every new stats table. - const STATS_TABLES = 49; + const STATS_TABLES = 55; const [stats] = await client` select count(*) filter (where has_table_privilege(c.oid, 'select, insert, update, delete')) as app_rw,