SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'settings';
↑
#3
debug
SELECT * FROM settings
↑+1ms
#4
debug
SHOW COLUMNS FROM `empresas`;
↑+12ms
#5
debug
SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'empresas';
↑
#6
debug
SELECT * FROM empresas ORDER BY nombre ASC
↑+1ms
#7
debug
SHOW COLUMNS FROM `attached_files`;
↑+9ms
#8
debug
SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'attached_files';
↑
#9
debug
SELECT * FROM attached_files WHERE idfile = '96' LIMIT 1 OFFSET 0;