mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 19:05:18 +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
|