mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-02-14 19:30:01 +01:00
96 lines
2.8 KiB
C#
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");
|
|
}
|
|
}
|
|
}
|