debian-mirror-gitlab/db/migrate/20210406140057_add_total_tuple_count_to_batched_migrations.rb
2021-04-29 21:17:54 +05:30

14 lines
307 B
Ruby

# 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