mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 05:44:35 +08:00
10 lines
234 B
Ruby
10 lines
234 B
Ruby
|
class RemoveTrackExternalRightClicks < ActiveRecord::Migration[5.2]
|
||
|
def up
|
||
|
execute "DELETE FROM site_settings WHERE name = 'track_external_right_clicks'"
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
raise ActiveRecord::IrreversibleMigration
|
||
|
end
|
||
|
end
|