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:
Diffstat (limited to 'db/migrate/20210823213417_create_dependency_proxy_image_ttl_group_policies.rb')
-rw-r--r--db/migrate/20210823213417_create_dependency_proxy_image_ttl_group_policies.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/db/migrate/20210823213417_create_dependency_proxy_image_ttl_group_policies.rb b/db/migrate/20210823213417_create_dependency_proxy_image_ttl_group_policies.rb
deleted file mode 100644
index 3bbd9c1259e..00000000000
--- a/db/migrate/20210823213417_create_dependency_proxy_image_ttl_group_policies.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class CreateDependencyProxyImageTtlGroupPolicies < ActiveRecord::Migration[6.1]
- include Gitlab::Database::MigrationHelpers
-
- def up
- with_lock_retries do
- create_table :dependency_proxy_image_ttl_group_policies, id: false do |t|
- t.timestamps_with_timezone null: false
- t.references :group, primary_key: true, default: nil, index: false, foreign_key: { to_table: :namespaces, on_delete: :cascade }
- t.integer :ttl, default: 90
- t.boolean :enabled, null: false, default: false
- end
- end
- end
-
- def down
- with_lock_retries do
- drop_table :dependency_proxy_image_ttl_group_policies
- end
- end
-end