Show More
Commit Description:
add selectable checker (for now, only 'text' and 'float') in the problem import
Commit Description:
add selectable checker (for now, only 'text' and 'float') in the problem import
References:
File last commit:
Show/Diff file:
Action:
db/migrate/026_add_body_to_problems.rb
| 9 lines
| 171 B
| text/x-ruby
| RubyLexer
|
|
r88 | class AddBodyToProblems < ActiveRecord::Migration | ||
def self.up | ||||
add_column :problems, :body, :text | ||||
end | ||||
def self.down | ||||
remove_column :problems, :body | ||||
end | ||||
end | ||||