{% autoescape false %} {{ column.accessorName }}: { type: {{ column.type }} {{ ifTrue('field', column.name) }} {{ ifTrue('primaryKey', column.primaryKey) }} {{ ifTrue('autoIncrement', column.autoIncrement) }} {{ ifFalse('allowNull', column.allowNull) }} {{ ifNotUndefined('defaultValue', column.defaultValue) }} {{ ifTrue('unique', column.unique) }} {{ ifTrue('comment', column.comment) }} {% if column.references && column.referencesKey %} ,references: { model: {{column.references}}, key: {{column.referencesKey}} } {% endif %} {{ ifTrue('onUpdate', column.onUpdate) }} {{ ifTrue('onDelete', column.onDelete) }} } {% endautoescape %}