Amend db script
This commit is contained in:
12
db/migrate/20150327141740_create_request_for_comments.rb
Normal file
12
db/migrate/20150327141740_create_request_for_comments.rb
Normal file
@ -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
|
Reference in New Issue
Block a user