修改字段类型为longtext
This commit is contained in:
parent
ec82d16bbc
commit
9d770bfcb9
|
@ -0,0 +1,9 @@
|
|||
class ChangeTypeToChanllenge < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :challenges, :task_pass, :longtext
|
||||
change_column :challenges, :answer, :longtext
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue