debian-mirror-gitlab/db/migrate/20201022094845_add_historical_data_recorded_at.rb
2021-01-29 00:20:46 +05:30

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