fix: Show number of loaded timezones in log output

There is no reason to hide those, right?
This commit is contained in:
Wolfgang Walther
2024-07-09 09:09:22 +02:00
committed by Wolfgang Walther
parent 420933ceba
commit e67461b991
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -95,13 +95,14 @@ instance JSON.ToJSON SchemaCache where
]
showSummary :: SchemaCache -> Text
showSummary (SchemaCache tbls rels routs reps mediaHdlrs _) =
showSummary (SchemaCache tbls rels routs reps mediaHdlrs tzs) =
T.intercalate ", "
[ show (HM.size tbls) <> " Relations"
, show (HM.size rels) <> " Relationships"
, show (HM.size routs) <> " Functions"
, show (HM.size reps) <> " Domain Representations"
, show (HM.size mediaHdlrs) <> " Media Type Handlers"
, show (S.size tzs) <> " Timezones"
]
-- | A view foreign key or primary key dependency detected on its source table