Add Testrun to schema
This commit is contained in:
13
db/migrate/20160302133540_create_testruns.rb
Normal file
13
db/migrate/20160302133540_create_testruns.rb
Normal file
@ -0,0 +1,13 @@
|
||||
class CreateTestruns < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :testruns do |t|
|
||||
t.boolean :passed
|
||||
t.text :output
|
||||
|
||||
t.belongs_to :file
|
||||
t.belongs_to :submission
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user