class CreateParentModels < ActiveRecord::Migration def self.up create_table :parent_models do |t| t.string :first_name t.string :last_name t.string :address t.boolean :some_flag t.timestamps end end def self.down drop_table :parent_models end end