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/20230711032913_initialize_conversion_of_ci_pipeline_chat_data_pipeline_id.rb')
-rw-r--r--db/migrate/20230711032913_initialize_conversion_of_ci_pipeline_chat_data_pipeline_id.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20230711032913_initialize_conversion_of_ci_pipeline_chat_data_pipeline_id.rb b/db/migrate/20230711032913_initialize_conversion_of_ci_pipeline_chat_data_pipeline_id.rb
new file mode 100644
index 00000000000..e11af34e38b
--- /dev/null
+++ b/db/migrate/20230711032913_initialize_conversion_of_ci_pipeline_chat_data_pipeline_id.rb
@@ -0,0 +1,16 @@
+# frozen_string_literal: true
+
+class InitializeConversionOfCiPipelineChatDataPipelineId < Gitlab::Database::Migration[2.1]
+ disable_ddl_transaction!
+
+ TABLE = :ci_pipeline_chat_data
+ COLUMNS = %i[pipeline_id]
+
+ def up
+ initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
+ end
+
+ def down
+ revert_initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
+ end
+end