From ac683c3ff761c3eab684515fbdeddc813d50f727 Mon Sep 17 00:00:00 2001 From: Pallavi Kumari Date: Thu, 23 Oct 2025 23:24:42 +0530 Subject: [PATCH] add pg schema for proxy protocol --- server/db/pg/schema/schema.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/db/pg/schema/schema.ts b/server/db/pg/schema/schema.ts index 2e307c5f..1d1ca200 100644 --- a/server/db/pg/schema/schema.ts +++ b/server/db/pg/schema/schema.ts @@ -102,7 +102,9 @@ export const resources = pgTable("resources", { skipToIdpId: integer("skipToIdpId").references(() => idp.idpId, { onDelete: "cascade" }), - headers: text("headers") // comma-separated list of headers to add to the request + headers: text("headers"), // comma-separated list of headers to add to the request + proxyProtocol: boolean("proxyProtocol").notNull().default(false), + proxyProtocolVersion: integer("proxyProtocolVersion").default(1) }); export const targets = pgTable("targets", {