Show More
Commit Description:
update to 3.1.0, update rdoc
Commit Description:
update to 3.1.0, update rdoc
File last commit:
Show/Diff file:
Action:
db/migrate/20161014091417_create_testcases.rb | 15 lines | 305 B | text/x-ruby | RubyLexer |
class CreateTestcases < ActiveRecord::Migration
def change
create_table :testcases do |t|
t.references :problem
t.integer :num
t.integer :group
t.integer :score
t.text :input
t.text :sol
t.timestamps
end
add_index :testcases, :problem_id
end
end