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: 002_create_artists.rb
    path of file: ./repos/moebooru/db/migrate
    
    the code of the file until where you have to start completion: class CreateArtists < ActiveRecord::Migration[5.1]
  def self.up
    execute(<<-EOS)
     CREATE TABLE artists (
       id SERIAL,
       japanese_name TEXT,
       personal_name TEXT,
       handle_name TEXT,
       circle_name TEXT,
       site_name
    
  def self.up
    execute(<<-EOS)
     CREATE TABLE artists (
       id SERIAL,
       japanese_name TEXT,
       personal_name TEXT,
       handle_name TEXT,
       circle_name TEXT,
       site_name TEXT,
       site_url TEXT,
       image_url TEXT
     )
    EOS
    execute("CREATE INDEX idx_artists__image_url ON artists (image_url)")
    execute("CREATE INDEX idx_artists__personal_name ON artists (personal_name) WHERE personal_name IS NOT NULL")
    execute("CREATE INDEX idx_artists__handle_name ON artists (handle_name) WHERE handle_name IS NOT NULL")
  end