19.08 ms (53.27%)
|
1 |
SELECT
c.TABLE_NAME,
c.COLUMN_NAME AS field,
IF(
c.DATA_TYPE = 'longtext'
AND EXISTS(
SELECT * FROM information_schema.CHECK_CONSTRAINTS i_c
WHERE i_c.CONSTRAINT_SCHEMA = 'lourmelsolutionsassurances_formulaire'
AND i_c.TABLE_NAME = c.TABLE_NAME
AND i_c.CHECK_CLAUSE = CONCAT(
'json_valid(`',
c.COLUMN_NAME,
'`)'
)
),
'json',
c.DATA_TYPE
) AS type,
c.COLUMN_TYPE,
c.CHARACTER_MAXIMUM_LENGTH,
c.CHARACTER_OCTET_LENGTH,
c.NUMERIC_PRECISION,
c.NUMERIC_SCALE,
c.IS_NULLABLE AS `null`,
c.COLUMN_KEY AS `key`,
c.COLUMN_DEFAULT AS `default`,
c.EXTRA,
c.COLUMN_COMMENT AS comment,
c.CHARACTER_SET_NAME AS characterset,
c.COLLATION_NAME AS collation
FROM information_schema.COLUMNS c
INNER JOIN information_schema.TABLES t
ON t.TABLE_NAME = c.TABLE_NAME
WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ?
AND t.TABLE_TYPE = 'BASE TABLE'
ORDER BY c.TABLE_NAME,
c.ORDINAL_POSITION
Parameters: [
"lourmelsolutionsassurances_formulaire"
"lourmelsolutionsassurances_formulaire"
"doctrine_migration_versions"
]
SELECT
c.TABLE_NAME,
c.COLUMN_NAME AS field,
IF(
c.DATA_TYPE = 'longtext'
AND EXISTS(
SELECT * FROM information_schema.CHECK_CONSTRAINTS i_c
WHERE i_c.CONSTRAINT_SCHEMA = 'lourmelsolutionsassurances_formulaire'
AND i_c.TABLE_NAME = c.TABLE_NAME
AND i_c.CHECK_CLAUSE = CONCAT(
'json_valid(`',
c.COLUMN_NAME,
'`)'
)
),
'json',
c.DATA_TYPE
) AS type,
c.COLUMN_TYPE,
c.CHARACTER_MAXIMUM_LENGTH,
c.CHARACTER_OCTET_LENGTH,
c.NUMERIC_PRECISION,
c.NUMERIC_SCALE,
c.IS_NULLABLE AS `null`,
c.COLUMN_KEY AS `key`,
c.COLUMN_DEFAULT AS `default`,
c.EXTRA,
c.COLUMN_COMMENT AS comment,
c.CHARACTER_SET_NAME AS characterset,
c.COLLATION_NAME AS collation
FROM information_schema.COLUMNS c
INNER JOIN information_schema.TABLES t
ON t.TABLE_NAME = c.TABLE_NAME
WHERE c.TABLE_SCHEMA = 'lourmelsolutionsassurances_formulaire' AND t.TABLE_SCHEMA = 'lourmelsolutionsassurances_formulaire' AND t.TABLE_NAME = 'doctrine_migration_versions'
AND t.TABLE_TYPE = 'BASE TABLE'
ORDER BY c.TABLE_NAME,
c.ORDINAL_POSITION;
|
2.36 ms (6.60%)
|
1 |
SELECT t.TABLE_NAME,
t.ENGINE,
t.AUTO_INCREMENT,
t.TABLE_COMMENT,
t.CREATE_OPTIONS,
t.TABLE_COLLATION,
ccsa.CHARACTER_SET_NAME
FROM information_schema.TABLES t
INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa.FULL_COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'
Parameters: [
"lourmelsolutionsassurances_formulaire"
"doctrine_migration_versions"
]
SELECT t.TABLE_NAME,
t.ENGINE,
t.AUTO_INCREMENT,
t.TABLE_COMMENT,
t.CREATE_OPTIONS,
t.TABLE_COLLATION,
ccsa.CHARACTER_SET_NAME
FROM information_schema.TABLES t
INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa.FULL_COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = 'lourmelsolutionsassurances_formulaire' AND t.TABLE_NAME = 'doctrine_migration_versions' AND t.TABLE_TYPE = 'BASE TABLE';
|
1.80 ms (5.03%)
|
1 |
SELECT
k.TABLE_NAME,
k.CONSTRAINT_NAME,
k.COLUMN_NAME,
k.REFERENCED_TABLE_NAME,
k.REFERENCED_COLUMN_NAME,
k.ORDINAL_POSITION,
c.UPDATE_RULE,
c.DELETE_RULE
FROM information_schema.key_column_usage k
INNER JOIN information_schema.referential_constraints c
ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME
AND c.TABLE_NAME = k.TABLE_NAME
WHERE k.TABLE_SCHEMA = ? AND c.CONSTRAINT_SCHEMA = ? AND k.TABLE_NAME = ?
AND k.REFERENCED_COLUMN_NAME IS NOT NULL
ORDER BY k.TABLE_NAME,
k.CONSTRAINT_NAME,
k.ORDINAL_POSITION
Parameters: [
"lourmelsolutionsassurances_formulaire"
"lourmelsolutionsassurances_formulaire"
"doctrine_migration_versions"
]
SELECT
k.TABLE_NAME,
k.CONSTRAINT_NAME,
k.COLUMN_NAME,
k.REFERENCED_TABLE_NAME,
k.REFERENCED_COLUMN_NAME,
k.ORDINAL_POSITION,
c.UPDATE_RULE,
c.DELETE_RULE
FROM information_schema.key_column_usage k
INNER JOIN information_schema.referential_constraints c
ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME
AND c.TABLE_NAME = k.TABLE_NAME
WHERE k.TABLE_SCHEMA = 'lourmelsolutionsassurances_formulaire' AND c.CONSTRAINT_SCHEMA = 'lourmelsolutionsassurances_formulaire' AND k.TABLE_NAME = 'doctrine_migration_versions'
AND k.REFERENCED_COLUMN_NAME IS NOT NULL
ORDER BY k.TABLE_NAME,
k.CONSTRAINT_NAME,
k.ORDINAL_POSITION;
|
1.63 ms (4.56%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.variable AS variable_3, t0.uri AS uri_4, t0.content AS content_5, t0.active AS active_6, t0.created AS created_7, t0.seo_meta_title AS seo_meta_title_8, t0.seo_meta_description AS seo_meta_description_9, t0.seo_meta_keywords AS seo_meta_keywords_10, t0.seo_og_title AS seo_og_title_11, t0.seo_og_description AS seo_og_description_12, t0.seo_tt_title AS seo_tt_title_13, t0.seo_tt_description AS seo_tt_description_14, t0.seo_tt_cover_alt AS seo_tt_cover_alt_15, t0.seo_tt_card AS seo_tt_card_16, t0.created_by AS created_by_17, t0.updated_by AS updated_by_18, t0.deleted_by AS deleted_by_19, t0.slug AS slug_20, t0.created_at AS created_at_21, t0.updated_at AS updated_at_22 FROM page t0 WHERE t0.uri = ? AND t0.active = ? LIMIT 1
Parameters: [
"p/000000000000.cfg"
1
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.variable AS variable_3, t0.uri AS uri_4, t0.content AS content_5, t0.active AS active_6, t0.created AS created_7, t0.seo_meta_title AS seo_meta_title_8, t0.seo_meta_description AS seo_meta_description_9, t0.seo_meta_keywords AS seo_meta_keywords_10, t0.seo_og_title AS seo_og_title_11, t0.seo_og_description AS seo_og_description_12, t0.seo_tt_title AS seo_tt_title_13, t0.seo_tt_description AS seo_tt_description_14, t0.seo_tt_cover_alt AS seo_tt_cover_alt_15, t0.seo_tt_card AS seo_tt_card_16, t0.created_by AS created_by_17, t0.updated_by AS updated_by_18, t0.deleted_by AS deleted_by_19, t0.slug AS slug_20, t0.created_at AS created_at_21, t0.updated_at AS updated_at_22 FROM page t0 WHERE t0.uri = 'p/000000000000.cfg' AND t0.active = 1 LIMIT 1;
|
0.62 ms (1.73%)
|
1 |
SELECT r0_.id AS id_0, r0_.name AS name_1, r0_.type AS type_2, r0_.payment_id AS payment_id_3, r0_.structure_type AS structure_type_4, r0_.user_types AS user_types_5 FROM field_rights_group f1_ INNER JOIN rights_group r0_ ON f1_.rights_group_id = r0_.id AND (r0_.id = f1_.rights_group_id AND EXISTS (SELECT 1 FROM rights_group_user r2_ WHERE r2_.rights_group_id = r0_.id AND r2_.user_id IN (?))) INNER JOIN field f3_ ON f1_.field_id = f3_.id AND (f3_.id = f1_.field_id AND f3_.belongs_to = ?) LIMIT 1
Parameters: [
null
null
]
SELECT r0_.id AS id_0, r0_.name AS name_1, r0_.type AS type_2, r0_.payment_id AS payment_id_3, r0_.structure_type AS structure_type_4, r0_.user_types AS user_types_5 FROM field_rights_group f1_ INNER JOIN rights_group r0_ ON f1_.rights_group_id = r0_.id AND (r0_.id = f1_.rights_group_id AND EXISTS (SELECT 1 FROM rights_group_user r2_ WHERE r2_.rights_group_id = r0_.id AND r2_.user_id IN (NULL))) INNER JOIN field f3_ ON f1_.field_id = f3_.id AND (f3_.id = f1_.field_id AND f3_.belongs_to = NULL) LIMIT 1;
|