discourse/db/migrate/20180729092926_remove_track_external_right_clicks.rb

12 lines
265 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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