This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
2007-12-03 03:47:21 -05:00
|
|
|
class CreatePeoples < ActiveRecord::Migration
|
|
|
|
def self.up
|
|
|
|
create_table :peoples do |t|
|
|
|
|
t.column :title, :string
|
|
|
|
end
|
2007-12-22 19:32:08 -05:00
|
|
|
People.create :title => 'Guest', :page => Page.new
|
2007-12-03 03:47:21 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
drop_table :peoples
|
|
|
|
end
|
|
|
|
end
|