mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 18:48:33 +08:00
11 lines
286 B
Ruby
11 lines
286 B
Ruby
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
|