Files
ss14-wl/Content.Server.Database/Migrations/Postgres/20250731212500_WlRecords.cs
2025-08-17 12:38:16 +03:00

52 lines
1.4 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Content.Server.Database.Migrations.Postgres
{
/// <inheritdoc />
public partial class WlRecords : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "employment_record",
table: "profile",
type: "text",
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "medical_record",
table: "profile",
type: "text",
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "security_record",
table: "profile",
type: "text",
nullable: false,
defaultValue: "");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "employment_record",
table: "profile");
migrationBuilder.DropColumn(
name: "medical_record",
table: "profile");
migrationBuilder.DropColumn(
name: "security_record",
table: "profile");
}
}
}