groceries: stats page with nightly snapshot (battles, basket, promos, CPI, range)
All checks were successful
Deploy production / deploy (push) Successful in 1m19s
All checks were successful
Deploy production / deploy (push) Successful in 1m19s
This commit is contained in:
@@ -167,8 +167,10 @@ try {
|
||||
where n.nspname = 'groceries' and c.relkind = 'r'
|
||||
`;
|
||||
if (
|
||||
Number(groceries.tables) !== 8 ||
|
||||
Number(groceries.app_rw) !== 8 ||
|
||||
// 10 = stores, items, item_prices, groups, import_runs, categories, manual_prices, synonyms,
|
||||
// stats_snapshots, item_sizes (more is fine as long as the app can read/write all of them).
|
||||
Number(groceries.tables) < 10 ||
|
||||
Number(groceries.app_rw) !== Number(groceries.tables) ||
|
||||
Number(groceries.ro_read) !== 0 ||
|
||||
groceries.public_usage
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user