Log ban hits in DB. (#6337)
This commit is contained in:
committed by
GitHub
parent
a3aabf59ad
commit
b75f005bb4
@@ -0,0 +1,25 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Content.Server.Database.Migrations.Postgres
|
||||
{
|
||||
public partial class ServerBanHit : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<byte>(
|
||||
name: "denied",
|
||||
table: "connection_log",
|
||||
type: "smallint",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "denied",
|
||||
table: "connection_log");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user