Files
ss14-wega/Content.Server.Database/Migrations/Postgres/20250827092822_GraphomancyExtended.cs
Zekins3366 dca2883853 Graphomancy
2025-08-27 21:53:40 +03:00

96 lines
2.8 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Content.Server.Database.Migrations.Postgres
{
/// <inheritdoc />
public partial class GraphomancyExtended : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "character_flavor_text",
table: "profile",
type: "text",
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "green_flavor_text",
table: "profile",
type: "text",
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "links_flavor_text",
table: "profile",
type: "text",
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "nsfwflavor_text",
table: "profile",
type: "text",
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "red_flavor_text",
table: "profile",
type: "text",
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "tags_flavor_text",
table: "profile",
type: "text",
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "yellow_flavor_text",
table: "profile",
type: "text",
nullable: false,
defaultValue: "");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "character_flavor_text",
table: "profile");
migrationBuilder.DropColumn(
name: "green_flavor_text",
table: "profile");
migrationBuilder.DropColumn(
name: "links_flavor_text",
table: "profile");
migrationBuilder.DropColumn(
name: "nsfwflavor_text",
table: "profile");
migrationBuilder.DropColumn(
name: "red_flavor_text",
table: "profile");
migrationBuilder.DropColumn(
name: "tags_flavor_text",
table: "profile");
migrationBuilder.DropColumn(
name: "yellow_flavor_text",
table: "profile");
}
}
}