Fix MaxURL length in db (2048)

This commit is contained in:
2025-03-13 23:26:58 +01:00
parent 232fe6406a
commit 1480aa0a03
8 changed files with 926 additions and 20 deletions

View File

@ -13,7 +13,7 @@ public class NotificationConnector(string name, string url, Dictionary<string, s
[Required]
public string Name { get; init; } = name;
[StringLength(256)]
[StringLength(2048)]
[Required]
[Url]
public string Url { get; internal set; } = url;
@ -25,7 +25,7 @@ public class NotificationConnector(string name, string url, Dictionary<string, s
[Required]
public string HttpMethod { get; internal set; } = httpMethod;
[StringLength(512)]
[StringLength(4096)]
[Required]
public string Body { get; internal set; } = body;