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/20200420104303_add_group_import_states_table.rb')
-rw-r--r--db/migrate/20200420104303_add_group_import_states_table.rb25
1 files changed, 0 insertions, 25 deletions
diff --git a/db/migrate/20200420104303_add_group_import_states_table.rb b/db/migrate/20200420104303_add_group_import_states_table.rb
deleted file mode 100644
index a44a2ea75f3..00000000000
--- a/db/migrate/20200420104303_add_group_import_states_table.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-
-class AddGroupImportStatesTable < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- # rubocop:disable Migration/AddLimitToTextColumns
- def up
- with_lock_retries do
- create_table :group_import_states, id: false do |t|
- t.references :group, primary_key: true, foreign_key: { to_table: :namespaces, on_delete: :cascade }
- t.timestamps_with_timezone null: false
- t.integer :status, limit: 2, null: false, default: 0
- t.text :jid, null: false, unique: true
- t.text :last_error
- end
- end
- end
- # rubocop:enable Migration/AddLimitToTextColumns
-
- def down
- drop_table :group_import_states
- end
-end