Show More
Commit Description:
added rspec test for grader_message...
Commit Description:
added rspec test for grader_message git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@387 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
db/migrate/20090429014554_create_grader_messages.rb | 17 lines | 375 B | text/x-ruby | RubyLexer |
class CreateGraderMessages < ActiveRecord::Migration
def self.up
create_table :grader_messages do |t|
t.integer :grader_process_id
t.integer :command
t.string :options
t.integer :target_id
t.boolean :taken
t.integer :taken_grader_process_id
t.timestamps
end
end
def self.down
drop_table :grader_messages
end
end