Show More
Commit Description:
add option to update PDF file of a problem in /problem/edit/:id...
Commit Description:
add option to update PDF file of a problem in /problem/edit/:id
(grafted from 15b2554bf365f8639b5e94db4f1d9a277007808a)
References:
File last commit:
Show/Diff file:
Action:
db/migrate/023_add_runstat_columns_to_test_request.rb
| 13 lines
| 414 B
| text/x-ruby
| RubyLexer
|
|
r81 | class AddRunstatColumnsToTestRequest < ActiveRecord::Migration | ||
def self.up | ||||
|
r82 | add_column :test_requests, :running_time, :float | ||
|
r81 | add_column :test_requests, :exit_status, :string | ||
add_column :test_requests, :memory_usage, :integer | ||||
end | ||||
def self.down | ||||
remove_column :test_requests, :running_time | ||||
remove_column :test_requests, :exit_status | ||||
remove_column :test_requests, :memory_usage | ||||
end | ||||
end | ||||