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: 20200601215509_create_deleted_users.rb
    path of file: ./repos/identity-idp/db/primary_migrate
    
    the code of the file until where you have to start completion: class CreateDeletedUsers < ActiveRecord::Migration[5.1]
  def change
    create_table :deleted_users do |t|
      t.integer :user_id, null: false
      t.string :uuid, nul
    
  def change
    create_table :deleted_users do |t|
      t.integer :user_id, null: false
      t.string :uuid, null: false
      t.datetime :user_created_at, null: false
      t.datetime :deleted_at, null: false
    end
    add_index :deleted_users, %i[user_id], unique: true
    add_index :deleted_users, %i[uuid], unique: true

    remove_foreign_key :events, :users
  end