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/20200210184420_create_operations_scopes_table.rb')
-rw-r--r--db/migrate/20200210184420_create_operations_scopes_table.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/db/migrate/20200210184420_create_operations_scopes_table.rb b/db/migrate/20200210184420_create_operations_scopes_table.rb
deleted file mode 100644
index 7ce21feb865..00000000000
--- a/db/migrate/20200210184420_create_operations_scopes_table.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class CreateOperationsScopesTable < ActiveRecord::Migration[6.0]
- DOWNTIME = false
-
- # rubocop:disable Migration/PreventStrings
- def change
- create_table :operations_scopes do |t|
- t.references :strategy, null: false, index: false, foreign_key: { to_table: :operations_strategies, on_delete: :cascade }
- t.string :environment_scope, null: false, limit: 255
- end
-
- add_index :operations_scopes, [:strategy_id, :environment_scope], unique: true
- end
- # rubocop:enable Migration/PreventStrings
-end