deploy preflight: 55 stats tables (step 4 history tables)
All checks were successful
Deploy production / deploy (push) Successful in 1m11s
All checks were successful
Deploy production / deploy (push) Successful in 1m11s
This commit is contained in:
@@ -177,7 +177,7 @@ try {
|
|||||||
throw new Error(`groceries schema grants are wrong: ${JSON.stringify(groceries)}`);
|
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
|
// 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.
|
// 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`
|
const [stats] = await client`
|
||||||
select
|
select
|
||||||
count(*) filter (where has_table_privilege(c.oid, 'select, insert, update, delete')) as app_rw,
|
count(*) filter (where has_table_privilege(c.oid, 'select, insert, update, delete')) as app_rw,
|
||||||
|
|||||||
Reference in New Issue
Block a user