From 5c390aeff0ac886444bd63fa12b7d77d542ab41f Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Tue, 9 Dec 2025 20:04:31 +0100 Subject: [PATCH 1/2] Improve error message if table is not available Signed-off-by: Liviu-Mihail Concioiu --- templates/database/structure/structure_table_row.twig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/database/structure/structure_table_row.twig b/templates/database/structure/structure_table_row.twig index dfa08b737c..d4d46f7cb2 100644 --- a/templates/database/structure/structure_table_row.twig +++ b/templates/database/structure/structure_table_row.twig @@ -234,7 +234,11 @@ - {% trans 'in use' %} + {% if current_table['TABLE_COMMENT'] is not empty %} + {{ current_table['TABLE_COMMENT'] }} + {% else %} + {% trans 'in use' %} + {% endif %} {% endif %} From 607f8a7da0bd84343103ad87af5ec4a732dd018e Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Tue, 9 Dec 2025 22:27:13 +0100 Subject: [PATCH 2/2] Change to Comment Signed-off-by: Liviu-Mihail Concioiu --- templates/database/structure/structure_table_row.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/database/structure/structure_table_row.twig b/templates/database/structure/structure_table_row.twig index d4d46f7cb2..5c56e167df 100644 --- a/templates/database/structure/structure_table_row.twig +++ b/templates/database/structure/structure_table_row.twig @@ -234,8 +234,8 @@ - {% if current_table['TABLE_COMMENT'] is not empty %} - {{ current_table['TABLE_COMMENT'] }} + {% if current_table['Comment'] is not empty %} + {{ current_table['Comment'] }} {% else %} {% trans 'in use' %} {% endif %}