Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20210406140057_add_total_tuple_count_to_batched_migrations.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 32b5f27a5779639317d6bc7e488884466bc5f258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddTotalTupleCountToBatchedMigrations < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def up
    add_column :batched_background_migrations, :total_tuple_count, :bigint
  end

  def down
    remove_column :batched_background_migrations, :total_tuple_count
  end
end