diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 11:18:50 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 11:18:50 +0000 |
commit | 8c7f4e9d5f36cff46365a7f8c4b9c21578c1e781 (patch) | |
tree | a77e7fe7a93de11213032ed4ab1f33a3db51b738 /db/migrate/20181108091549_cleanup_environments_external_url.rb | |
parent | 00b35af3db1abfe813a778f643dad221aad51fca (diff) | |
download | gitlab-ce-8c7f4e9d5f36cff46365a7f8c4b9c21578c1e781.tar.gz |
Add latest changes from gitlab-org/gitlab@13-1-stable-ee
Diffstat (limited to 'db/migrate/20181108091549_cleanup_environments_external_url.rb')
-rw-r--r-- | db/migrate/20181108091549_cleanup_environments_external_url.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20181108091549_cleanup_environments_external_url.rb b/db/migrate/20181108091549_cleanup_environments_external_url.rb deleted file mode 100644 index 8439f6e55e6..00000000000 --- a/db/migrate/20181108091549_cleanup_environments_external_url.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -class CleanupEnvironmentsExternalUrl < ActiveRecord::Migration[4.2] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - update_column_in_batches(:environments, :external_url, nil) do |table, query| - query.where(table[:external_url].matches('javascript://%')) - end - end - - def down - end -end |