summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorChris Baumbauer <cab@cabnetworks.net>2018-11-03 14:43:48 -0700
committerChris Baumbauer <cab@cabnetworks.net>2018-11-03 14:43:48 -0700
commit73789fdfd2a6e34c9a05cc9e65930146e23b3195 (patch)
tree4ada8e3d2bf813f4f1caa03734f628e2b4419db6 /db
parentc10452d285134b7eac63551f5a09606fb5d4f5e0 (diff)
downloadgitlab-ce-73789fdfd2a6e34c9a05cc9e65930146e23b3195.tar.gz
Fix the way hostname is validated with the knative app
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180912111628_add_knative_application.rb2
-rw-r--r--db/schema.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20180912111628_add_knative_application.rb b/db/migrate/20180912111628_add_knative_application.rb
index cbebc58c1e1..bfda6a945a7 100644
--- a/db/migrate/20180912111628_add_knative_application.rb
+++ b/db/migrate/20180912111628_add_knative_application.rb
@@ -13,7 +13,7 @@ class AddKnativeApplication < ActiveRecord::Migration
t.datetime_with_timezone "updated_at", null: false
t.integer "status", null: false
t.string "version", null: false
- t.string "hostname", null: false
+ t.string "hostname"
t.text "status_reason"
end
end
diff --git a/db/schema.rb b/db/schema.rb
index 8c7b9d929db..4033b4a8c7c 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -709,7 +709,7 @@ ActiveRecord::Schema.define(version: 20181101144347) do
t.datetime_with_timezone "updated_at", null: false
t.integer "status", null: false
t.string "version", null: false
- t.string "hostname", null: false
+ t.string "hostname"
t.text "status_reason"
end