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: 20221211160349_create_import_files.rb
    path of file: ./repos/texterify/db/migrate
    
    the code of the file until where you have to start completion: class CreateImportFiles < ActiveRecord::Migration[6.1]
  def change
    create_table :import_files, id: :uuid do |t|
      t.text :name, null: false
      t.text :status, null: false
      t.text :status_m
    
  def change
    create_table :import_files, id: :uuid do |t|
      t.text :name, null: false
      t.text :status, null: false
      t.text :status_message
      t.text :error_message

      t.timestamps
    end

    add_reference :import_files, :import, type: :uuid, null: false
    add_foreign_key :import_files, :imports, on_delete: :cascade

    add_reference :import_files, :language, type: :uuid, null: true
    add_foreign_key :import_files, :languages, on_delete: :nullify
  end