Commit fb0dec4e authored by Tomasz Maczukin's avatar Tomasz Maczukin

Add new column to ci_runners table

parent cb94afc5
class AddJobUpperTimeoutToCiRunners < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
add_column :ci_runners, :job_upper_timeout, :integer
end
def down
remove_column :ci_runners, :job_upper_timeout
end
end
...@@ -459,6 +459,7 @@ ActiveRecord::Schema.define(version: 20180327101207) do ...@@ -459,6 +459,7 @@ ActiveRecord::Schema.define(version: 20180327101207) do
t.boolean "locked", default: false, null: false t.boolean "locked", default: false, null: false
t.integer "access_level", default: 0, null: false t.integer "access_level", default: 0, null: false
t.string "ip_address" t.string "ip_address"
t.integer "job_upper_timeout"
end end
add_index "ci_runners", ["contacted_at"], name: "index_ci_runners_on_contacted_at", using: :btree add_index "ci_runners", ["contacted_at"], name: "index_ci_runners_on_contacted_at", using: :btree
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment