Work for unban

This commit is contained in:
defnotken
2025-08-31 14:58:27 -05:00
parent 80235a174b
commit 421447329f
11 changed files with 2399 additions and 2 deletions

View File

@@ -0,0 +1,36 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace LightlessSyncServer.Migrations
{
/// <inheritdoc />
public partial class AddUidToBannedUsers : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "banned_uid",
table: "banned_users",
type: "text",
nullable: true,
oldClrType: typeof(string),
oldType: "character varying(10)",
oldNullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "banned_uid",
table: "banned_users",
type: "character varying(10)",
nullable: true,
oldClrType: typeof(string),
oldType: "text",
oldNullable: true);
}
}
}