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/20230412151659_add_ci_job_artifacts_file_final_path.rb')
-rw-r--r--db/migrate/20230412151659_add_ci_job_artifacts_file_final_path.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20230412151659_add_ci_job_artifacts_file_final_path.rb b/db/migrate/20230412151659_add_ci_job_artifacts_file_final_path.rb
new file mode 100644
index 00000000000..18bf8640a45
--- /dev/null
+++ b/db/migrate/20230412151659_add_ci_job_artifacts_file_final_path.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+class AddCiJobArtifactsFileFinalPath < Gitlab::Database::Migration[2.1]
+ enable_lock_retries!
+
+ # rubocop:disable Migration/AddLimitToTextColumns
+ # limit is added in db/post_migrate/20230412152538_add_text_limit_to_ci_job_artifacts_file_final_path.rb
+ def change
+ add_column :ci_job_artifacts, :file_final_path, :text, null: true
+ end
+ # rubocop:enable Migration/AddLimitToTextColumns
+end