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: 20200908180652_add_name_normalized_to_users.rb
    path of file: ./repos/moebooru/db/migrate
    
    the code of the file until where you have to start completion: class AddNameNormalizedToUsers < ActiveRecord::Migration[6.0]
  class User < ActiveRecord::Base
  end

  def up
    change_table 
    
  def up
    change_table :users do |t|
      t.string :name_normalized, limit: 255
      t.index :name_normalized, unique: true
    end

    User.update_all('name_normalized = LOWER(name)')

    change_column :users, :name_normalized, :string, limit: 255, null: false
  end