diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-01 18:10:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-01 18:10:53 +0300 |
commit | dff63567c3bdad66d092989f9bf85b6faa32da65 (patch) | |
tree | cde62e3a2ae15d435b345bbab09ac8b0ae09f3dc /db | |
parent | 37ecd38c4e5a4df8d58283e8bdbb9d66f0c84494 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20210223105256_remove_minergate_trigger_on_git_lab_com.rb | 28 | ||||
-rw-r--r-- | db/schema_migrations/20210223105256 | 1 |
2 files changed, 0 insertions, 29 deletions
diff --git a/db/migrate/20210223105256_remove_minergate_trigger_on_git_lab_com.rb b/db/migrate/20210223105256_remove_minergate_trigger_on_git_lab_com.rb deleted file mode 100644 index b5f018efa59..00000000000 --- a/db/migrate/20210223105256_remove_minergate_trigger_on_git_lab_com.rb +++ /dev/null @@ -1,28 +0,0 @@ -# frozen_string_literal: true - -class RemoveMinergateTriggerOnGitLabCom < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - return unless Gitlab.com? - - with_lock_retries do - execute <<~SQL - DROP TRIGGER IF EXISTS ci_builds_block_minergate ON ci_builds; - SQL - end - - execute <<~SQL - DROP FUNCTION IF EXISTS make_build_to_be_stuck_with_lock_version(); - DROP FUNCTION IF EXISTS make_build_to_be_stuck(); - SQL - end - - def down - # no-op - end -end diff --git a/db/schema_migrations/20210223105256 b/db/schema_migrations/20210223105256 deleted file mode 100644 index cfee761bbc1..00000000000 --- a/db/schema_migrations/20210223105256 +++ /dev/null @@ -1 +0,0 @@ -5fa0e89f9d7715309f6fd9808a07c34bcca0d556a2a4a2841f419b3279db8759
\ No newline at end of file |