1 class <%= migration_name
%> < ActiveRecord
::Migration
3 create_table
:<%= table_name
%> do |t
|
4 <% for attribute
in attributes
-%>
5 t
.<%= attribute
.type
%> :<%= attribute
.name
%>
7 <% unless options
[:skip_timestamps] %>
14 drop_table
:<%= table_name
%>