From d0954d8bdc19c79c626fa5af4aa23e10077f33a1 Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Wed, 4 Mar 2026 23:05:48 +0100 Subject: [PATCH] Improve indexes design in structure snapshot Signed-off-by: Liviu-Mihail Concioiu --- .../tracking/structure_snapshot_indexes.twig | 73 ++++++++++--------- 1 file changed, 40 insertions(+), 33 deletions(-) diff --git a/resources/templates/table/tracking/structure_snapshot_indexes.twig b/resources/templates/table/tracking/structure_snapshot_indexes.twig index 3e1c41beec..361c691985 100644 --- a/resources/templates/table/tracking/structure_snapshot_indexes.twig +++ b/resources/templates/table/tracking/structure_snapshot_indexes.twig @@ -1,33 +1,40 @@ -

{{ t('Indexes') }}

- - - - - - - - - - - - - - - - {% for index in indexes %} - - - - - - - - - - - - {% endfor %} - -
{{ t('Keyname') }}{{ t('Type') }}{{ t('Unique') }}{{ t('Packed') }}{{ t('Column') }}{{ t('Cardinality') }}{{ t('Collation') }}{{ t('Null') }}{{ t('Comment') }}
- {{ index['Key_name'] }} - {{ index['Index_type'] }}{{ index['Non_unique'] == 0 ? t('Yes') : t('No') }}{{ index['Packed'] != '' ? t('Yes') : t('No') }}{{ index['Column_name'] }}{{ index['Cardinality'] }}{{ index['Collation'] }}{{ index['Null'] }}{{ index['Comment'] }}
+
+
+ {{ t('Indexes') }} + {{ show_mysql_docu('optimizing-database-structure') }} +
+
+ + + + + + + + + + + + + + + + {% for index in indexes %} + + + + + + + + + + + + {% endfor %} + +
{{ t('Keyname') }}{{ t('Type') }}{{ t('Unique') }}{{ t('Packed') }}{{ t('Column') }}{{ t('Cardinality') }}{{ t('Collation') }}{{ t('Null') }}{{ t('Comment') }}
+ {{ index['Key_name'] }} + {{ index['Index_type'] }}{{ index['Non_unique'] == 0 ? t('Yes') : t('No') }}{{ index['Packed'] != '' ? t('Yes') : t('No') }}{{ index['Column_name'] }}{{ index['Cardinality'] }}{{ index['Collation'] }}{{ index['Null'] }}{{ index['Comment'] }}
+
+