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/20200617150041_create_namespace_limits.rb')
-rw-r--r--db/migrate/20200617150041_create_namespace_limits.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/db/migrate/20200617150041_create_namespace_limits.rb b/db/migrate/20200617150041_create_namespace_limits.rb
deleted file mode 100644
index 59a014ff7ca..00000000000
--- a/db/migrate/20200617150041_create_namespace_limits.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class CreateNamespaceLimits < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- def up
- with_lock_retries do
- create_table :namespace_limits, id: false do |t|
- t.bigint :additional_purchased_storage_size, default: 0, null: false
- t.date :additional_purchased_storage_ends_on, null: true
-
- t.references :namespace, primary_key: true, default: nil, type: :integer, index: false, foreign_key: { on_delete: :cascade }
- end
- end
- end
-
- def down
- drop_table :namespace_limits
- end
-end