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/20211101132310_add_reindexing_queue.rb')
-rw-r--r--db/migrate/20211101132310_add_reindexing_queue.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/db/migrate/20211101132310_add_reindexing_queue.rb b/db/migrate/20211101132310_add_reindexing_queue.rb
deleted file mode 100644
index d9d1f9dce89..00000000000
--- a/db/migrate/20211101132310_add_reindexing_queue.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-
-class AddReindexingQueue < Gitlab::Database::Migration[1.0]
- def change
- create_table :postgres_reindex_queued_actions do |t|
- t.text :index_identifier, null: false, limit: 255
- t.integer :state, limit: 2, null: false, default: 0
- t.timestamps_with_timezone null: false
-
- t.index :state
- end
-
- change_column_default :postgres_reindex_queued_actions, :created_at, from: nil, to: -> { 'NOW()' }
- change_column_default :postgres_reindex_queued_actions, :updated_at, from: nil, to: -> { 'NOW()' }
- end
-end