2014-04-15 10:26:15 -04:00
|
|
|
require Rails.root.join('db/migrate/limits_to_mysql')
|
2017-05-02 05:17:48 -04:00
|
|
|
require Rails.root.join('db/migrate/markdown_cache_limits_to_mysql')
|
2017-06-09 07:48:25 -04:00
|
|
|
require Rails.root.join('db/migrate/merge_request_diff_file_limits_to_mysql')
|
2018-04-26 02:06:04 -04:00
|
|
|
require Rails.root.join('db/migrate/limits_ci_build_trace_chunks_raw_data_for_mysql')
|
2018-05-21 14:16:46 -04:00
|
|
|
require Rails.root.join('db/migrate/gpg_keys_limits_to_mysql')
|
2018-09-04 11:43:42 -04:00
|
|
|
require Rails.root.join('db/migrate/prometheus_metrics_limits_to_mysql')
|
2014-04-15 10:26:15 -04:00
|
|
|
|
2015-06-23 10:52:40 -04:00
|
|
|
desc "GitLab | Add limits to strings in mysql database"
|
2014-03-11 14:20:15 -04:00
|
|
|
task add_limits_mysql: :environment do
|
|
|
|
puts "Adding limits to schema.rb for mysql"
|
|
|
|
LimitsToMysql.new.up
|
2017-05-02 05:17:48 -04:00
|
|
|
MarkdownCacheLimitsToMysql.new.up
|
2017-06-09 07:48:25 -04:00
|
|
|
MergeRequestDiffFileLimitsToMysql.new.up
|
2018-04-26 02:06:04 -04:00
|
|
|
LimitsCiBuildTraceChunksRawDataForMysql.new.up
|
2018-05-21 14:16:46 -04:00
|
|
|
IncreaseMysqlTextLimitForGpgKeys.new.up
|
2018-09-04 11:43:42 -04:00
|
|
|
PrometheusMetricsLimitsToMysql.new.up
|
2014-03-11 14:20:15 -04:00
|
|
|
end
|