diff options
author | Kamil TrzciĆski <ayufan@ayufan.eu> | 2019-02-26 17:32:23 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-02-26 17:32:23 +0000 |
commit | 7b445f9b15c31f7b2b53561901183ab23db2d636 (patch) | |
tree | 21640c40aea443139e1a9e31b2ea606115cf9916 /db/migrate | |
parent | 48e6db0dad6f256e8423e0bd6c9b254803f50ccf (diff) | |
download | gitlab-ce-7b445f9b15c31f7b2b53561901183ab23db2d636.tar.gz |
Revert "Merge branch '13784-simple-masking-of-protected-variables-in-logs' into 'master'"
This reverts merge request !25293
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20190218134158_add_masked_to_ci_variables.rb | 21 | ||||
-rw-r--r-- | db/migrate/20190218134209_add_masked_to_ci_group_variables.rb | 21 |
2 files changed, 0 insertions, 42 deletions
diff --git a/db/migrate/20190218134158_add_masked_to_ci_variables.rb b/db/migrate/20190218134158_add_masked_to_ci_variables.rb deleted file mode 100644 index b4999d5b4a9..00000000000 --- a/db/migrate/20190218134158_add_masked_to_ci_variables.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -# See http://doc.gitlab.com/ce/development/migration_style_guide.html -# for more information on how to write migrations for GitLab. - -class AddMaskedToCiVariables < ActiveRecord::Migration[5.0] - include Gitlab::Database::MigrationHelpers - - # Set this constant to true if this migration requires downtime. - DOWNTIME = false - - disable_ddl_transaction! - - def up - add_column_with_default :ci_variables, :masked, :boolean, default: false, allow_null: false - end - - def down - remove_column :ci_variables, :masked - end -end diff --git a/db/migrate/20190218134209_add_masked_to_ci_group_variables.rb b/db/migrate/20190218134209_add_masked_to_ci_group_variables.rb deleted file mode 100644 index 8633875b341..00000000000 --- a/db/migrate/20190218134209_add_masked_to_ci_group_variables.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -# See http://doc.gitlab.com/ce/development/migration_style_guide.html -# for more information on how to write migrations for GitLab. - -class AddMaskedToCiGroupVariables < ActiveRecord::Migration[5.0] - include Gitlab::Database::MigrationHelpers - - # Set this constant to true if this migration requires downtime. - DOWNTIME = false - - disable_ddl_transaction! - - def up - add_column_with_default :ci_group_variables, :masked, :boolean, default: false, allow_null: false - end - - def down - remove_column :ci_group_variables, :masked - end -end |