Fix migrations
This commit is contained in:
parent
9f2a6ca03c
commit
0b5ff7dd2e
2 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,8 @@ require Rails.root.join('db/migrate/prometheus_metrics_limits_to_mysql')
|
||||||
class FixPrometheusMetricQueryLimits < ActiveRecord::Migration
|
class FixPrometheusMetricQueryLimits < ActiveRecord::Migration
|
||||||
include Gitlab::Database::MigrationHelpers
|
include Gitlab::Database::MigrationHelpers
|
||||||
|
|
||||||
|
DOWNTIME = false
|
||||||
|
|
||||||
def up
|
def up
|
||||||
PrometheusMetricsLimitsToMysql.new.up
|
PrometheusMetricsLimitsToMysql.new.up
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,6 +3,7 @@ require Rails.root.join('db/migrate/markdown_cache_limits_to_mysql')
|
||||||
require Rails.root.join('db/migrate/merge_request_diff_file_limits_to_mysql')
|
require Rails.root.join('db/migrate/merge_request_diff_file_limits_to_mysql')
|
||||||
require Rails.root.join('db/migrate/limits_ci_build_trace_chunks_raw_data_for_mysql')
|
require Rails.root.join('db/migrate/limits_ci_build_trace_chunks_raw_data_for_mysql')
|
||||||
require Rails.root.join('db/migrate/gpg_keys_limits_to_mysql')
|
require Rails.root.join('db/migrate/gpg_keys_limits_to_mysql')
|
||||||
|
require Rails.root.join('db/migrate/prometheus_metrics_limits_to_mysql')
|
||||||
|
|
||||||
desc "GitLab | Add limits to strings in mysql database"
|
desc "GitLab | Add limits to strings in mysql database"
|
||||||
task add_limits_mysql: :environment do
|
task add_limits_mysql: :environment do
|
||||||
|
@ -12,4 +13,5 @@ task add_limits_mysql: :environment do
|
||||||
MergeRequestDiffFileLimitsToMysql.new.up
|
MergeRequestDiffFileLimitsToMysql.new.up
|
||||||
LimitsCiBuildTraceChunksRawDataForMysql.new.up
|
LimitsCiBuildTraceChunksRawDataForMysql.new.up
|
||||||
IncreaseMysqlTextLimitForGpgKeys.new.up
|
IncreaseMysqlTextLimitForGpgKeys.new.up
|
||||||
|
PrometheusMetricsLimitsToMysql.new.up
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue