10 lines
184 B
Ruby
10 lines
184 B
Ruby
|
class AddCloumnToFirstPage < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_column :first_pages,:type,:string
|
||
|
|
||
|
fr = FirstPage.all.first
|
||
|
fr.type = "project"
|
||
|
fr.save
|
||
|
end
|
||
|
end
|