2018-12-23 12:14:25 +05:30
|
|
|
class CiLimitsToMysql < ActiveRecord::Migration[4.2]
|
2015-10-24 18:46:33 +05:30
|
|
|
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
|