class AddCloumnToFirstPage < ActiveRecord::Migration def change #add_column :first_pages,:type,:string #fr = FirstPage.all.first #fr.type = "project" #fr.save end end