diff --git a/db/migrate/20150327141740_create_request_for_comments.rb b/db/migrate/20150327141740_create_request_for_comments.rb new file mode 100644 index 00000000..ad3882d2 --- /dev/null +++ b/db/migrate/20150327141740_create_request_for_comments.rb @@ -0,0 +1,12 @@ +class CreateRequestForComments < ActiveRecord::Migration + def change + create_table :request_for_comments do |t| + t.integer :requestorid, :null => false + t.integer :exerciseid, :null => false + t.integer :fileid, :null => false + t.timestamp :requested_at + + t.timestamps + end + end +end