diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-08 17:17:06 +0200 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-09 09:54:19 +0200 |
commit | 4c2cf90780632db93ac7a39513277f17f4bc3da8 (patch) | |
tree | 9e4be7f7ea27d065596c9766566c58a0a030efe5 /db/schema.rb | |
parent | 2de674483aa881461d7afc55ee0d2fd7d9685806 (diff) | |
download | gitlab-ce-4c2cf90780632db93ac7a39513277f17f4bc3da8.tar.gz |
Add DB constraint ci_runners.runner_type not null
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema.rb b/db/schema.rb index 6fd10785d77..839a5f6699a 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20180508055821) do +ActiveRecord::Schema.define(version: 20180508135515) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -497,7 +497,7 @@ ActiveRecord::Schema.define(version: 20180508055821) do t.integer "access_level", default: 0, null: false t.string "ip_address" t.integer "maximum_timeout" - t.integer "runner_type", limit: 2 + t.integer "runner_type", limit: 2, null: false end add_index "ci_runners", ["contacted_at"], name: "index_ci_runners_on_contacted_at", using: :btree |