diff options
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20180301010859_create_ci_builds_metadata_table.rb | 2 | ||||
| -rw-r--r-- | db/schema.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/db/migrate/20180301010859_create_ci_builds_metadata_table.rb b/db/migrate/20180301010859_create_ci_builds_metadata_table.rb index cd7824d7788..72c204026d8 100644 --- a/db/migrate/20180301010859_create_ci_builds_metadata_table.rb +++ b/db/migrate/20180301010859_create_ci_builds_metadata_table.rb @@ -6,7 +6,7 @@ class CreateCiBuildsMetadataTable < ActiveRecord::Migration def change create_table :ci_builds_metadata, id: false do |t| t.integer :build_id, null: false - t.integer :used_timeout + t.integer :timeout t.integer :timeout_source, null: false, default: 1 t.primary_key :build_id diff --git a/db/schema.rb b/db/schema.rb index a2967409703..a14823dfa15 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -330,7 +330,7 @@ ActiveRecord::Schema.define(version: 20180327101207) do add_index "ci_builds", ["user_id"], name: "index_ci_builds_on_user_id", using: :btree create_table "ci_builds_metadata", primary_key: "build_id", force: :cascade do |t| - t.integer "used_timeout" + t.integer "timeout" t.integer "timeout_source", default: 1, null: false end @@ -463,8 +463,8 @@ ActiveRecord::Schema.define(version: 20180327101207) do t.boolean "run_untagged", default: true, null: false t.boolean "locked", default: false, null: false t.integer "access_level", default: 0, null: false - t.integer "maximum_timeout" t.string "ip_address" + t.integer "maximum_timeout" end add_index "ci_runners", ["contacted_at"], name: "index_ci_runners_on_contacted_at", using: :btree |
