------------|--------------
hoststatus | check_service
+> **Note**
+>
+> Command definitions get custom variables from 'vars' dictionary.
### <a id="schema-db-ido"></a> DB IDO
logentries | object_id | bigint | NULL | FK: objects table (service associated with column)
hosts | check_service_object_id | bigint | NULL | FK: objects table (service associated with column)
+> **Note**
+>
+> Additional command custom variables populated from 'vars' dictionary.
### <a id="schema-livestatus"></a> Livestatus
hosts | check_service
downtimes | triggers
downtimes | trigger_time
+ commands | custom_variable_names
+ commands | custom_variable_values
+ commands | custom_variables
+
+> **Note**
+>
+> Command custom variables reflect the local 'vars' dictionary.