summaryrefslogtreecommitdiff
path: root/db/migrate/20200122161638_add_deploy_token_type_to_deploy_tokens.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20200122161638_add_deploy_token_type_to_deploy_tokens.rb')
-rw-r--r--db/migrate/20200122161638_add_deploy_token_type_to_deploy_tokens.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20200122161638_add_deploy_token_type_to_deploy_tokens.rb b/db/migrate/20200122161638_add_deploy_token_type_to_deploy_tokens.rb
deleted file mode 100644
index 99459199709..00000000000
--- a/db/migrate/20200122161638_add_deploy_token_type_to_deploy_tokens.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddDeployTokenTypeToDeployTokens < ActiveRecord::Migration[5.2]
- include Gitlab::Database::MigrationHelpers
-
- disable_ddl_transaction!
-
- DOWNTIME = false
-
- def up
- add_column_with_default :deploy_tokens, :deploy_token_type, :integer, default: 2, limit: 2, allow_null: false # rubocop:disable Migration/AddColumnWithDefault
- end
-
- def down
- remove_column :deploy_tokens, :deploy_token_type
- end
-end