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: 20200422105623_add_job_status.rb
    path of file: ./repos/openproject/modules/job_status/db/migrate
    
    the code of the file until where you have to start completion: #-- copyright
# OpenProject is an o
    
  def up
    execute <<-SQL.squish
      CREATE TYPE delayed_job_status AS ENUM ('in_queue', 'error', 'in_process', 'success', 'failure');
    SQL

    create_table :delayed_job_statuses do |t|
      t.references :job
      t.references :reference, polymorphic: true, index: { unique: true }
      t.string :message

      t.timestamps
    end

    add_column :delayed_job_statuses, :status, :delayed_job_status, default: 'in_queue'
  end