diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-20 08:43:02 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-20 08:43:02 +0000 |
commit | d9ab72d6080f594d0b3cae15f14b3ef2c6c638cb (patch) | |
tree | 2341ef426af70ad1e289c38036737e04b0aa5007 /db/migrate/20190514105711_create_ip_restriction.rb | |
parent | d6e514dd13db8947884cd58fe2a9c2a063400a9b (diff) | |
download | gitlab-ce-d9ab72d6080f594d0b3cae15f14b3ef2c6c638cb.tar.gz |
Add latest changes from gitlab-org/gitlab@14-4-stable-eev14.4.0-rc42
Diffstat (limited to 'db/migrate/20190514105711_create_ip_restriction.rb')
-rw-r--r-- | db/migrate/20190514105711_create_ip_restriction.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/db/migrate/20190514105711_create_ip_restriction.rb b/db/migrate/20190514105711_create_ip_restriction.rb deleted file mode 100644 index 51e711ca32b..00000000000 --- a/db/migrate/20190514105711_create_ip_restriction.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -class CreateIpRestriction < ActiveRecord::Migration[5.1] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - def change - create_table :ip_restrictions do |t| - t.references :group, references: :namespace, - column: :group_id, - type: :integer, - null: false, - index: true - t.string :range, null: false # rubocop:disable Migration/PreventStrings - end - - add_foreign_key(:ip_restrictions, :namespaces, column: :group_id, on_delete: :cascade) # rubocop: disable Migration/AddConcurrentForeignKey - end -end |