2019-08-02 08:10:44 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class RenameApplicationSettingsSnowplowCollectorUriColumn < ActiveRecord::Migration[5.2]
|
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
disable_ddl_transaction!
|
|
|
|
|
|
|
|
def up
|
|
|
|
rename_column_concurrently :application_settings, :snowplow_collector_uri, :snowplow_collector_hostname
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
2019-09-18 14:02:45 +00:00
|
|
|
undo_rename_column_concurrently :application_settings, :snowplow_collector_uri, :snowplow_collector_hostname
|
2019-08-02 08:10:44 +00:00
|
|
|
end
|
|
|
|
end
|