Drop admin log entity db table (#21216)

This commit is contained in:
DrSmugleaf
2023-10-23 22:08:20 -07:00
committed by GitHub
parent 472381c0db
commit 0e0ac5fcc5
7 changed files with 3495 additions and 88 deletions

View File

@@ -516,9 +516,6 @@ namespace Content.Server.Database
[Required, Column(TypeName = "jsonb")] public JsonDocument Json { get; set; } = default!;
public List<AdminLogPlayer> Players { get; set; } = default!;
// Unused
public List<AdminLogEntity> Entities { get; set; } = default!;
}
public class AdminLogPlayer
@@ -531,13 +528,6 @@ namespace Content.Server.Database
[ForeignKey("LogId,RoundId")] public AdminLog Log { get; set; } = default!;
}
// Unused
public class AdminLogEntity
{
[Required, Key] public int Uid { get; set; }
public string? Name { get; set; } = default!;
}
// Used by SS14.Admin
public interface IBanCommon<TUnban> where TUnban : IUnbanCommon
{