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
|
2014-06-05 10:28:36 +08:00
|
|
|
t.integer :notificationcomments_count
|
2014-05-30 20:32:37 +08:00
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|