Files
OldThink/Content.Server.Database/Migrations/Postgres/20230409140454_CATaddNamesToProfile.cs
2024-01-14 06:30:49 +03:00

49 lines
1.3 KiB
C#

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