diff --git a/templates/table/structure/display_structure.twig b/templates/table/structure/display_structure.twig index 873c2be091..aef31cdbd9 100644 --- a/templates/table/structure/display_structure.twig +++ b/templates/table/structure/display_structure.twig @@ -33,7 +33,7 @@ {% set attribute = 'on update CURRENT_TIMESTAMP' %} {% endif %} - {% if row['Default'] is not defined %} + {% if row['Default'] is null %} {% if row['Null'] == 'YES' %} {% set row = row|merge({'Default': 'NULL'}) %} {% endif %}