Sha256: acdcf5ad5763770ea2d36b97358d64d6dca65a0edb0316e3acbbdeee3a4a97a1

Contents?: true

Size: 1.21 KB

Versions: 9

Compression:

Stored size: 1.21 KB

Contents

class CreateExecutions < ActiveRecord::Migration
  def change
    create_table "executions" do |t|
      t.string   "uuid",                   limit: 36,                              null: false
      t.integer  "job_definition_id",      limit: 4
      t.integer  "job_definition_version", limit: 4
      t.integer  "job_instance_id",        limit: 4
      t.integer  "token_id",               limit: 4
      t.string   "queue",                  limit: 180,        default: "@default", null: false
      t.text     "shell",                  limit: 65535,                           null: false
      t.text     "context",                limit: 65535,                           null: false
      t.integer  "pid",                    limit: 4
      t.text     "output",                 limit: 16777217
      t.integer  "exit_status",            limit: 1
      t.integer  "term_signal",            limit: 1
      t.datetime "started_at"
      t.datetime "finished_at"
      t.datetime "mailed_at"
      t.datetime "created_at"
      t.datetime "updated_at"
    end

    add_index "executions", ["job_definition_id", "token_id"], unique: true, using: :btree
    add_index "executions", ["started_at"], name: "started_at", using: :btree
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kuroko2-0.3.4 db/migrate/007_create_executions.rb
kuroko2-0.3.3 db/migrate/007_create_executions.rb
kuroko2-0.3.2 db/migrate/007_create_executions.rb
kuroko2-0.3.1 db/migrate/007_create_executions.rb
kuroko2-0.3.0 db/migrate/007_create_executions.rb
kuroko2-0.2.3 db/migrate/007_create_executions.rb
kuroko2-0.2.2 db/migrate/007_create_executions.rb
kuroko2-0.2.1 db/migrate/007_create_executions.rb
kuroko2-0.2.0 db/migrate/007_create_executions.rb