Files
Cleanuparr/code/backend/Cleanuparr.Persistence.Postgres/Migrations/Data/20260822111024_AddHttpSendUserAgent.cs
T

32 lines
895 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Cleanuparr.Persistence.Postgres.Migrations.Data
{
/// <inheritdoc />
public partial class AddHttpSendUserAgent : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "http_send_user_agent",
schema: "data",
table: "general_configs",
type: "boolean",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "http_send_user_agent",
schema: "data",
table: "general_configs");
}
}
}