blob: 33cb19aff9ef554810a1cf691d66d6571a5f3280 (
plain)
1
2
3
4
5
6
7
8
|
class LimitsToMysql < ActiveRecord::Migration[4.2]
def up
return unless ActiveRecord::Base.configurations[Rails.env]['adapter'] =~ /^mysql/
change_column :snippets, :content, :text, limit: 2147483647
change_column :notes, :st_diff, :text, limit: 2147483647
end
end
|