gitlab-org--gitlab-foss/db/migrate/20201022094845_add_historic...

14 lines
264 B
Ruby

# 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