2016-06-09 08:39:16 -04:00
|
|
|
# rubocop:disable all
|
2015-10-20 14:23:33 -04:00
|
|
|
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
|