User/Misc

* don't run querys if not strictly required (e.g. query for chars from ajax context)
 * prepare user globals and favorites so errors can be handled and don't destroy the template
   this also allows for profiling of the affected queries
 * add keys to items table to speed up querying for recipes in general and user completions in particular
This commit is contained in:
Sarjuuk
2025-11-05 15:28:57 +01:00
parent 9020e36db6
commit 16c5b73cd3
6 changed files with 78 additions and 55 deletions

View File

@@ -71,7 +71,7 @@ UNLOCK TABLES;
LOCK TABLES `aowow_dbversion` WRITE;
/*!40000 ALTER TABLE `aowow_dbversion` DISABLE KEYS */;
INSERT INTO `aowow_dbversion` VALUES (1758578400,17,NULL,NULL);
INSERT INTO `aowow_dbversion` VALUES (1762352734,0,NULL,NULL);
/*!40000 ALTER TABLE `aowow_dbversion` ENABLE KEYS */;
UNLOCK TABLES;