diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-29 18:08:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-29 18:08:36 +0300 |
commit | 5b9b518d9f152eb5b88ef58512355fe2dbc8c032 (patch) | |
tree | e932397afdf40ab3175c22a327d3acd223f8d367 /db | |
parent | c3fe9f52152cd57f6790d30efc2d5e4b9dbf54dd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20230509013743_remove_clear_shared_runners_minutes_worker_job_instances.rb | 14 | ||||
-rw-r--r-- | db/schema_migrations/20230509013743 | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20230509013743_remove_clear_shared_runners_minutes_worker_job_instances.rb b/db/migrate/20230509013743_remove_clear_shared_runners_minutes_worker_job_instances.rb new file mode 100644 index 00000000000..b7202521fce --- /dev/null +++ b/db/migrate/20230509013743_remove_clear_shared_runners_minutes_worker_job_instances.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +class RemoveClearSharedRunnersMinutesWorkerJobInstances < Gitlab::Database::Migration[2.1] + DEPRECATED_JOB_CLASSES = %w[ + ClearSharedRunnersMinutesWorker + Ci::BatchResetMinutesWorker + ] + disable_ddl_transaction! + def up + sidekiq_remove_jobs(job_klasses: DEPRECATED_JOB_CLASSES) + end + + def down; end +end diff --git a/db/schema_migrations/20230509013743 b/db/schema_migrations/20230509013743 new file mode 100644 index 00000000000..776ec9d19a6 --- /dev/null +++ b/db/schema_migrations/20230509013743 @@ -0,0 +1 @@ +c312816ffabb9442b57d826a9e8c2214ae7672bf03938a911ddae490309fe87d
\ No newline at end of file |