fix: timescaleDB migration fixes and changes

This commit is contained in:
mannilakash committed 2026-04-13 07:53:33 -04:00
1 parent ae85af26bf
commit 987ed64256
8 files changed
+30 -13

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ export interface Monitor {
gameId?: string;
grpcServiceName?: string;
group: string | null;
customUserAgent?: string;
customUserAgent?: string | null;
geoCheckEnabled?: boolean;
geoCheckLocations?: GeoContinent[];
geoCheckInterval?: number;
+2
View File
@@ -45,6 +45,8 @@ const httpSchema = baseSchema.extend({
/^[\t\x20-\x7E\x80-\xFF]*$/,
"Only printable characters, spaces, and tabs are allowed (RFC 7230 §3.2.6)"
)
.transform((val) => (val.trim() === "" ? null : val.trim()))
.nullable()
.optional(),
});