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

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

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

  def up
    add_column(:historical_data, :recorded_at, :timestamptz)
  end

  def down
    remove_column(:historical_data, :recorded_at)
  end
end