SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'settings';
↑+4ms
#3
debug
SELECT * FROM settings
↑+3ms
#4
debug
SHOW COLUMNS FROM `empresas`;
↑+83ms
#5
debug
SELECT CONSTRAINT_NAME as name, CONSTRAINT_TYPE as type FROM information_schema.table_constraints WHERE table_schema = schema() AND table_name = 'empresas';