Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20221110080913_add_partition_id_to_ci_build_report_results.rb')
-rw-r--r--db/migrate/20221110080913_add_partition_id_to_ci_build_report_results.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20221110080913_add_partition_id_to_ci_build_report_results.rb b/db/migrate/20221110080913_add_partition_id_to_ci_build_report_results.rb
new file mode 100644
index 00000000000..b915ac9f907
--- /dev/null
+++ b/db/migrate/20221110080913_add_partition_id_to_ci_build_report_results.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class AddPartitionIdToCiBuildReportResults < Gitlab::Database::Migration[2.0]
+ enable_lock_retries!
+
+ def change
+ add_column :ci_build_report_results, :partition_id, :bigint, default: 100, null: false
+ end
+end