2014-07-11 11:41:54 +08:00
|
|
|
class AddCloumnToFirstPage < ActiveRecord::Migration
|
|
|
|
def change
|
2014-07-14 11:28:29 +08:00
|
|
|
#add_column :first_pages,:type,:string
|
2014-07-11 11:41:54 +08:00
|
|
|
|
2014-07-14 11:28:29 +08:00
|
|
|
#fr = FirstPage.all.first
|
|
|
|
#fr.type = "project"
|
|
|
|
#fr.save
|
2014-07-11 11:41:54 +08:00
|
|
|
end
|
|
|
|
end
|