Use smallint for runner_type since its an enum
This commit is contained in:
parent
15b10c344b
commit
cb49d68c4f
2 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,6 @@ class AddRunnerTypeToCiRunners < ActiveRecord::Migration
|
|||
DOWNTIME = false
|
||||
|
||||
def change
|
||||
add_column :ci_runners, :runner_type, :integer
|
||||
add_column :ci_runners, :runner_type, :smallint
|
||||
end
|
||||
end
|
||||
|
|
|
@ -480,7 +480,7 @@ ActiveRecord::Schema.define(version: 20180503150427) do
|
|||
t.integer "access_level", default: 0, null: false
|
||||
t.string "ip_address"
|
||||
t.integer "maximum_timeout"
|
||||
t.integer "runner_type"
|
||||
t.integer "runner_type", limit: 2
|
||||
end
|
||||
|
||||
add_index "ci_runners", ["contacted_at"], name: "index_ci_runners_on_contacted_at", using: :btree
|
||||
|
|
Loading…
Reference in a new issue