fix(db): reset-db categorises the Car Wash tables and role_jobs — the drift guard refused every reset on a booth carrying them
Build & push images / images (push) Successful in 2m47s

Claude-Session: https://claude.ai/code/session_01FWncR69HgGPuei1dLrW3cU
This commit is contained in:
2026-09-07 14:37:49 +02:00
parent 29594f8bad
commit 2d9bb15d4c
4 changed files with 32 additions and 4 deletions
+12 -1
View File
@@ -51,6 +51,10 @@ const CATEGORIES = {
"subscription_credentials",
"subscriptions",
"blocklist",
// Car Wash (venue module): orders are money history (settled against ledger events);
// the review outbox is a delivery queue of crops + choices — both go with the ledger.
"carwash_review_outbox",
"carwash_orders",
],
config: [
"site_config",
@@ -65,8 +69,15 @@ const CATEGORIES = {
// whose user is gone grants nothing.
"validation_program_users",
"validation_programs",
// Car Wash master data: prices reference categories + services (child first); the
// module's site-level config (pay-at, vision threshold) is config like site_config.
"carwash_prices",
"carwash_categories",
"carwash_services",
"carwash_config",
],
users: ["sessions", "role_permissions", "users", "roles"],
// role_jobs = which jobs a role follows (child of roles).
users: ["sessions", "role_permissions", "role_jobs", "users", "roles"],
diagnostics: ["app_logs"],
};