aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets
diff options
context:
space:
mode:
Diffstat (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets')
-rw-r--r--docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs
index 1f00f9a..c3a4de0 100644
--- a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs
+++ b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs
@@ -14,7 +14,7 @@ public class SecretInfo
public string Description { get; set; } = default!;
[Column(NotNull = false)]
public DateTime? ExpireTime { get; set; }
- [Column(NotNull = true)]
+ [Column(NotNull = true, DefaultValue = false)]
public bool Revoked { get; set; }
[Column(NotNull = true)]
public DateTime CreateTime { get; set; }