diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-20 08:43:02 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-20 08:43:02 +0000 |
commit | d9ab72d6080f594d0b3cae15f14b3ef2c6c638cb (patch) | |
tree | 2341ef426af70ad1e289c38036737e04b0aa5007 /db/migrate/20191128145232_add_fk_to_ci_resources_build_id.rb | |
parent | d6e514dd13db8947884cd58fe2a9c2a063400a9b (diff) | |
download | gitlab-ce-d9ab72d6080f594d0b3cae15f14b3ef2c6c638cb.tar.gz |
Add latest changes from gitlab-org/gitlab@14-4-stable-eev14.4.0-rc42
Diffstat (limited to 'db/migrate/20191128145232_add_fk_to_ci_resources_build_id.rb')
-rw-r--r-- | db/migrate/20191128145232_add_fk_to_ci_resources_build_id.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20191128145232_add_fk_to_ci_resources_build_id.rb b/db/migrate/20191128145232_add_fk_to_ci_resources_build_id.rb deleted file mode 100644 index a13513de3b2..00000000000 --- a/db/migrate/20191128145232_add_fk_to_ci_resources_build_id.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -class AddFkToCiResourcesBuildId < ActiveRecord::Migration[5.2] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - add_concurrent_foreign_key :ci_resources, :ci_builds, column: :build_id, on_delete: :nullify - end - - def down - remove_foreign_key_if_exists :ci_resources, column: :build_id - end -end |