debian-mirror-gitlab/db/migrate/20210531053916_rename_instance_statistics_measurements.rb

14 lines
389 B
Ruby
Raw Normal View History

2021-09-04 01:27:46 +05:30
# frozen_string_literal: true
2021-11-11 11:23:49 +05:30
class RenameInstanceStatisticsMeasurements < Gitlab::Database::Migration[1.0]
enable_lock_retries!
2021-09-04 01:27:46 +05:30
def up
rename_table_safely(:analytics_instance_statistics_measurements, :analytics_usage_trends_measurements)
end
def down
undo_rename_table_safely(:analytics_instance_statistics_measurements, :analytics_usage_trends_measurements)
end
end