lib/natra/generators/model/migration.rb.erb
class <%= migration_class_name %> < ActiveRecord::Migration
def change
create_table :<%= table_name %> ,id: :uuid do |t|
<% attributes.each do |attribute| -%>
t.<%= attribute[:type] %> :<%= attribute[:name] %>
<% end %>
t.timestamps null: false
end
end
end