diff options
author | Lakshay arora <arora.lakshya123@gmail.com> | 2018-06-20 12:39:07 +0300 |
---|---|---|
committer | MaurĂcio Meneghini Fauth <mauriciofauth@gmail.com> | 2018-07-04 02:13:08 +0300 |
commit | 303cc9c1a006b974c5f7c5b754c6e7524ee1085a (patch) | |
tree | 7defad7cdb8b31a8edc27f6b8b53cd6eebfd7e08 /templates | |
parent | fc5586fb6ac9ad579925c5895c9975967514ad12 (diff) |
Fix NULL as default not shown, #14333
Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>
(cherry picked from commit 39f19fd20f56a66991ca65b82b3fdb17dd006242)
Signed-off-by: MaurĂcio Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/table/structure/display_structure.twig | 2 |
1 files changed, 1 insertions, 1 deletions
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': '<em>NULL</em>'}) %} {% endif %} |