forgeplus/db/migrate/20200220075242_change_versi...

7 lines
191 B
Ruby
Raw Normal View History

2020-03-09 00:40:16 +08:00
class ChangeVersionsDescriptions < ActiveRecord::Migration[5.2]
def change
change_column_default :versions, :description, nil
change_column :versions, :description, :text
end
end