pic_vert_app/db/migrate/20130114105221_create_forums.rb
2013-01-31 19:41:11 +01:00

13 lines
247 B
Ruby

class CreateForums < ActiveRecord::Migration
def change
create_table :forums do |t|
t.string :title
t.text :description
t.timestamps
end
Forum.create :title => "photo", :description => "forum photo"
end
end