[9d35f2]: db / migrate / 044_remove_result_from_test_case_compilations.rb Maximize Restore History

Download this file

044_remove_result_from_test_case_compilations.rb    12 lines (10 with data), 393 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
class RemoveResultFromTestCaseCompilations < ActiveRecord::Migration
def self.up
remove_column :test_case_compilations, :result
remove_column :test_case_compilations, :exit_code
end
def self.down
add_column :test_case_compilations, :result, :string, :limit => 15, :null => false
add_column :test_case_compilations, :exit_code, :integer, :null => false
end
end