You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: 20230602034711_rename_everything_to_topics_link.rb
    path of file: ./repos/discourse/db/migrate
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
class RenameEverythingToTopicsLink < ActiveRecord::Migration
    
  def down
    DB.exec <<~SQL
      UPDATE sidebar_urls su1
      SET name = 'Everything'
      FROM sidebar_urls su2
      INNER JOIN sidebar_section_links ON sidebar_section_links.linkable_id = su2.id
      INNER JOIN sidebar_sections ON sidebar_sections.id = sidebar_section_links.sidebar_section_id AND sidebar_sections.section_type = 0
      WHERE su1.id = su2.id AND su2.value = '/topics' AND su2.name = 'Topics'
    SQL
  end