diff --git a/LightlessSyncServer/LightlessSyncShared/Migrations/20250905190334_AddBannedUid.Designer.cs b/LightlessSyncServer/LightlessSyncShared/Migrations/20250905192853_AddBannedUid.Designer.cs
similarity index 99%
rename from LightlessSyncServer/LightlessSyncShared/Migrations/20250905190334_AddBannedUid.Designer.cs
rename to LightlessSyncServer/LightlessSyncShared/Migrations/20250905192853_AddBannedUid.Designer.cs
index 726257a..5c56f33 100644
--- a/LightlessSyncServer/LightlessSyncShared/Migrations/20250905190334_AddBannedUid.Designer.cs
+++ b/LightlessSyncServer/LightlessSyncShared/Migrations/20250905192853_AddBannedUid.Designer.cs
@@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace LightlessSyncServer.Migrations
{
[DbContext(typeof(LightlessDbContext))]
- [Migration("20250905190334_AddBannedUid")]
+ [Migration("20250905192853_AddBannedUid")]
partial class AddBannedUid
{
///
diff --git a/LightlessSyncServer/LightlessSyncShared/Migrations/20250905190334_AddBannedUid.cs b/LightlessSyncServer/LightlessSyncShared/Migrations/20250905192853_AddBannedUid.cs
similarity index 59%
rename from LightlessSyncServer/LightlessSyncShared/Migrations/20250905190334_AddBannedUid.cs
rename to LightlessSyncServer/LightlessSyncShared/Migrations/20250905192853_AddBannedUid.cs
index 0286706..0467a67 100644
--- a/LightlessSyncServer/LightlessSyncShared/Migrations/20250905190334_AddBannedUid.cs
+++ b/LightlessSyncServer/LightlessSyncShared/Migrations/20250905192853_AddBannedUid.cs
@@ -10,13 +10,19 @@ namespace LightlessSyncServer.Migrations
///
protected override void Up(MigrationBuilder migrationBuilder)
{
-
+ migrationBuilder.AddColumn(
+ name: "banned_uid",
+ table: "banned_users",
+ type: "text",
+ nullable: true);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
-
+ migrationBuilder.DropColumn(
+ name: "banned_uid",
+ table: "banned_users");
}
}
}
diff --git a/LightlessSyncServer/LightlessSyncShared/Models/Banned.cs b/LightlessSyncServer/LightlessSyncShared/Models/Banned.cs
index bc09e55..4071f56 100644
--- a/LightlessSyncServer/LightlessSyncShared/Models/Banned.cs
+++ b/LightlessSyncServer/LightlessSyncShared/Models/Banned.cs
@@ -7,8 +7,8 @@ public class Banned
[Key]
[MaxLength(100)]
public string CharacterIdentification { get; set; }
- public string Reason { get; set; }
public string BannedUid { get; set; }
+ public string Reason { get; set; }
[Timestamp]
public byte[] Timestamp { get; set; }
}