2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-01-26 20:15:46 -05:00
|
|
|
class RemoveOldGaSiteSettings < ActiveRecord::Migration[5.1]
|
|
|
|
def up
|
|
|
|
execute "DELETE FROM site_settings WHERE name = 'ga_tracking_code'"
|
|
|
|
execute "DELETE FROM site_settings WHERE name = 'ga_domain_name'"
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
raise ActiveRecord::IrreversibleMigration
|
|
|
|
end
|
|
|
|
end
|