Description:
Merge branch 'master' into codejom (text field type migration)
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r238:a529c8be5821 - - 1 file changed: 11 inserted, 0 deleted
@@ -0,0 +1,11 | |||
|
1 | + class ChangeInputSolutionFieldLimitInTestPair < ActiveRecord::Migration | |
|
2 | + def self.up | |
|
3 | + change_column :test_pairs, :input, :text, :limit => 1.megabytes | |
|
4 | + change_column :test_pairs, :solution, :text, :limit => 1.megabytes | |
|
5 | + end | |
|
6 | + | |
|
7 | + def self.down | |
|
8 | + change_column :test_pairs, :input, :text | |
|
9 | + change_column :test_pairs, :solution, :text | |
|
10 | + end | |
|
11 | + end |
You need to be logged in to leave comments.
Login now