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
path: root/db
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-07-18 18:08:53 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-18 18:08:53 +0300
commit93d0784e6d8f43ef5a27f506784b4b0d989c0c2b (patch)
treebba6397c298bf0d42b78992ea16ddea60769be84 /db
parent4c3f961bd94656e64cee5b0ad07b3f49a84338a5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r--db/post_migrate/20230703024031_cleanup_project_pipeline_status_key.rb15
-rw-r--r--db/schema_migrations/202307030240311
2 files changed, 16 insertions, 0 deletions
diff --git a/db/post_migrate/20230703024031_cleanup_project_pipeline_status_key.rb b/db/post_migrate/20230703024031_cleanup_project_pipeline_status_key.rb
new file mode 100644
index 00000000000..cb7fc04166f
--- /dev/null
+++ b/db/post_migrate/20230703024031_cleanup_project_pipeline_status_key.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+class CleanupProjectPipelineStatusKey < Gitlab::Database::Migration[2.1]
+ disable_ddl_transaction!
+
+ MIGRATION_WORKER_CLASS = 'BackfillProjectPipelineStatusTtl'
+
+ def up
+ queue_redis_migration_job(MIGRATION_WORKER_CLASS)
+ end
+
+ def down
+ # no-op
+ end
+end
diff --git a/db/schema_migrations/20230703024031 b/db/schema_migrations/20230703024031
new file mode 100644
index 00000000000..4e68e593e67
--- /dev/null
+++ b/db/schema_migrations/20230703024031
@@ -0,0 +1 @@
+bfbb862d6d7c54ebfa110a6266c99b9c264f4ae2d4c3b9cf07d47beb642bbb2b \ No newline at end of file