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

20230210153420_add_batched_column_to_bulk_import_exports.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cfe4a2059bb8a7258e9848aaa1f72af8030ab957 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class AddBatchedColumnToBulkImportExports < Gitlab::Database::Migration[2.1]
  def change
    add_column :bulk_import_exports, :batched, :boolean, null: false, default: false
    add_column :bulk_import_exports, :batches_count, :integer, null: false, default: 0
    add_column :bulk_import_exports, :total_objects_count, :integer, null: false, default: 0
  end
end