allow nullable expiry date

This commit is contained in:
john 2025-05-18 22:26:14 +02:00
parent d7e0c59559
commit c475c112da
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,9 @@
-- Migration: AddUserRole
-- Created at: 18/05/2025 19:31:13
CREATE TABLE authn.user_role
(
user_id uuid REFERENCES authn.user_identity(id),
role int,
primary key (user_id, role)
);

View file

@ -50,6 +50,6 @@ public class GetSignupCodesQueryHandler(IDbConnectionFactory connectionFactory)
public string Name { get; set; }
public Guid? RedeemedByUserId { get; set; }
public string? RedeemedByUsername { get; set; }
public DateTimeOffset ExpiresOn { get; set; }
public DateTimeOffset? ExpiresOn { get; set; }
}
}