SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'pages';
↑
#4
debug
SELECT * FROM pages WHERE `showonmenu` = TRUE ORDER BY lower(menu) ASC, lower(submenu) ASC, ordernum ASC, lower(title) ASC
↑+1ms
#5
debug
SHOW COLUMNS FROM `empresas`;
↑+2ms
#6
debug
SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'empresas';
↑
#7
debug
SELECT * FROM settings
↑+1ms
#8
debug
SELECT * FROM empresas ORDER BY nombre ASC
↑+2ms
#9
debug
SHOW COLUMNS FROM `attached_files`;
↑+22ms
#10
debug
SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'attached_files';
↑
#11
debug
SELECT * FROM attached_files WHERE idfile = '1' LIMIT 1 OFFSET 0;