=begin
{{> info}}
=end

class InitTables < ActiveRecord::Migration
  def change{{#models}}{{#model}}
    create_table :{{classFilename}}, id: false do |t|{{#vars}}{{#isContainer}}
      t.string :{{name}}{{/isContainer}}{{^isContainer}}
      t.{{datatype}} :{{{name}}}{{/isContainer}}{{/vars}}

      t.timestamps
    end
{{/model}}{{/models}}
  end
end
