%= class_name %>< ActiveRecord::Migration def change create_table(:<%= table_name %>) do |t| t.integer :class_id