mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
fix!: normalize and make usernames unique
This commit is contained in:
@@ -15,6 +15,7 @@ namespace SharpbinV3.Server.Data.Entities
|
||||
|
||||
[Index(nameof(UID))]
|
||||
[Index(nameof(UUID), IsUnique = true)]
|
||||
[Index(nameof(Username), IsUnique = true)]
|
||||
public sealed class User
|
||||
{
|
||||
public long? UID { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user