 
         $table
         {% for field in fields %}
-            {% if field.options %}
             ->addColumn('{{field.name}}', '{{field.type}}', [
                 {% for option in field.options %}
                 '{{option.0}}' => '{{option.1}}',
                 {% endfor %}
             ])
-            {% else %}
-            ->addColumn('{{field.name}}', '{{field.type}}')
-            {% endif %}
         {% endfor %}
         {% for fk in fks %}
             ->addForeignKey('{{fk.col-name}}', '{{fk.referenced-table}}', '{{fk.referenced-col-name}}')

  (let [col-type (column-type column)]
    {:name    (:field column)
     :type    col-type
     :options (if (= "enum" col-type)
                [["values" (enum-values column)]])}))

(defn camelize-table [table-name]
  (let [parts (str/split table-name #"_")]
    (reduce str (map str/capitalize parts))))

(defn table-data [db table]
  (let [pk-entry   (->> table
                        (filter #(= (:key %) "PRI"))
                        first)

                        (remove #(= table-data %)))

        fks        (->> (:name table-data)
                        (column-usage db schema)
                        (map (fn [info]
                               {:col-name            (:column_name info)
                                :referenced-table    (:referenced_table_name info)
