Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-18 16:16:36 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-18 16:16:36 +0300
commit311b0269b4eb9839fa63f80c8d7a58f32b8138a0 (patch)
tree07e7870bca8aed6d61fdcc810731c50d2c40af47 /db/migrate/20200907021256_create_dast_site_tokens.rb
parent27909cef6c4170ed9205afa7426b8d3de47cbb0c (diff)
Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42
Diffstat (limited to 'db/migrate/20200907021256_create_dast_site_tokens.rb')
-rw-r--r--db/migrate/20200907021256_create_dast_site_tokens.rb34
1 files changed, 0 insertions, 34 deletions
diff --git a/db/migrate/20200907021256_create_dast_site_tokens.rb b/db/migrate/20200907021256_create_dast_site_tokens.rb
deleted file mode 100644
index a8e221aef69..00000000000
--- a/db/migrate/20200907021256_create_dast_site_tokens.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# frozen_string_literal: true
-
-class CreateDastSiteTokens < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- unless table_exists?(:dast_site_tokens)
- with_lock_retries do
- create_table :dast_site_tokens do |t|
- t.references :project, foreign_key: { on_delete: :cascade }, null: false, index: true
-
- t.timestamps_with_timezone null: false
- t.datetime_with_timezone :expired_at
-
- t.text :token, null: false, unique: true
- t.text :url, null: false
- end
- end
- end
-
- add_text_limit :dast_site_tokens, :token, 255
- add_text_limit :dast_site_tokens, :url, 255
- end
-
- def down
- with_lock_retries do
- drop_table :dast_site_tokens
- end
- end
-end