diff --git a/kong/db/schema/init.lua b/kong/db/schema/init.lua index 495bdaf59b09..cbe6fe0ebf2c 100644 --- a/kong/db/schema/init.lua +++ b/kong/db/schema/init.lua @@ -270,6 +270,9 @@ Schema.validators = { end, uuid = function(value) + if value == "" then + return true + end if #value ~= 36 then return nil end