socialforge/db/migrate/20140530010015_create_conte...

15 lines
317 B
Ruby
Raw Normal View History

2014-05-30 20:32:37 +08:00
class CreateContestnotifications < ActiveRecord::Migration
def change
create_table :contestnotifications do |t|
t.integer :contest_id
t.string :title
t.string :summary
t.string :description
t.integer :author_id
t.integer :comments_count
t.timestamps
end
end
end