class AddZettoTo<%= table_name.camelize %> < ActiveRecord::Migration<%= migration_version %> def change <% migration_data.each do |name, properties| %> add_column :<%= table_name %>, :<%= name %>, <%= properties %> unless column_exists? :<%= table_name %>, :<%= name %> <% end %> end end