{% for column in columns %}
{% if column.type|string == 'BOOLEAN' or column.type|string == 'boolean' %}
{% elif column.type|string == 'TEXT' or column.type|string == 'text' %}
{% else %}
{% endif %}
Тип: {{ column.type }} {% if column.nullable %}(может быть NULL){% else %}(NOT NULL){% endif %}
{% endfor %}