Commit 694493c2 authored by Dmitry Gruzd's avatar Dmitry Gruzd

Remove ignore_columns from Elastic::ReindexingTask

parent bb6c6314
# frozen_string_literal: true
class Elastic::ReindexingTask < ApplicationRecord
include IgnorableColumns
self.table_name = 'elastic_reindexing_tasks'
validates :max_slices_running, presence: true
validates :slice_multiplier, presence: true
ignore_columns %i[documents_count index_name_from index_name_to elastic_task documents_count_target], remove_with: '14.3', remove_after: '2021-09-10'
has_many :subtasks, class_name: 'Elastic::ReindexingSubtask', foreign_key: :elastic_reindexing_task_id
enum state: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment