SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'pages';
↑+1ms
#4
debug
SELECT * FROM pages WHERE `showonmenu` = TRUE ORDER BY lower(menu) ASC, lower(submenu) ASC, ordernum ASC, lower(title) ASC
↑+2ms
#5
debug
SHOW COLUMNS FROM `empresas`;
↑+4ms
#6
debug
SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'empresas';