修改字段类型为longtext

This commit is contained in:
huang 2017-03-30 16:55:30 +08:00
parent ec82d16bbc
commit 9d770bfcb9
1 changed files with 9 additions and 0 deletions

View File

@ -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