Fix NULL as default not shown, #14333

Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>
(cherry picked from commit 39f19fd20f)
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
This commit is contained in:
Lakshay arora 2018-06-20 15:09:07 +05:30 committed by Maurício Meneghini Fauth
parent fc5586fb6a
commit 303cc9c1a0

View File

@ -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 %}