BigW Consortium Gitlab

20151020173516_ci_limits_to_mysql.rb 296 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
class CiLimitsToMysql < ActiveRecord::Migration
  def change
    return unless ActiveRecord::Base.configurations[Rails.env]['adapter'] =~ /^mysql/

    # CI
    change_column :ci_builds, :trace, :text, limit: 1073741823
    change_column :ci_commits, :push_data, :text, limit: 16777215
  end
end