Show More
Commit Description:
added rspec_on_rails plugin not as svn externals (frozen)...
Commit Description:
added rspec_on_rails plugin not as svn externals (frozen)
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@134 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
db/migrate/014_create_grader_processes.rb
| 16 lines
| 384 B
| text/x-ruby
| RubyLexer
|
|
r29 | class CreateGraderProcesses < ActiveRecord::Migration | ||
def self.up | ||||
create_table :grader_processes do |t| | ||||
t.column :ip, :string, :limit => 20 | ||||
t.column :pid, :integer | ||||
t.column :mode, :string | ||||
t.column :active, :boolean | ||||
t.timestamps | ||||
end | ||||
add_index :grader_processes, ["ip","pid"] | ||||
end | ||||
def self.down | ||||
drop_table :grader_processes | ||||
end | ||||
end | ||||