Show More
Commit Description:
added submission_status to store grading results, first page shows only unpassed problems.
Commit Description:
added submission_status to store grading results, first page shows only unpassed problems.
File last commit:
Show/Diff file:
Action:
db/migrate/20100123154326_create_submission_statuses.rb | 16 lines | 324 B | text/x-ruby | RubyLexer |
class CreateSubmissionStatuses < ActiveRecord::Migration
def self.up
create_table :submission_statuses do |t|
t.integer :user_id
t.integer :problem_id
t.boolean :passed
t.integer :submission_count
t.timestamps
end
end
def self.down
drop_table :submission_statuses
end
end