diff --git a/kong/plugins/oauth2/migrations/postgres.lua b/kong/plugins/oauth2/migrations/postgres.lua index 071f56b6bf69..6feaa25b9d61 100644 --- a/kong/plugins/oauth2/migrations/postgres.lua +++ b/kong/plugins/oauth2/migrations/postgres.lua @@ -143,7 +143,6 @@ return { up = function(_, _, dao) local rows, err = dao.plugins:find_all({name = "oauth2"}) if err then return err end - for _, row in ipairs(rows) do row.config.global_credentials = true