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

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

class AddDatetimeFieldsToBulkImportTrackers < Gitlab::Database::Migration[2.1]
  def up
    add_column :bulk_import_trackers, :created_at, :datetime_with_timezone, null: true
    add_column :bulk_import_trackers, :updated_at, :datetime_with_timezone, null: true
  end

  def down
    remove_column :bulk_import_trackers, :created_at
    remove_column :bulk_import_trackers, :updated_at
  end
end