using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Content.Server.Database.Migrations.Postgres
{
///
public partial class UnFuck : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "user_id",
table: "server_role_ban");
migrationBuilder.DropColumn(
name: "user_id",
table: "server_ban");
migrationBuilder.DropColumn(
name: "body_type",
table: "profile");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "user_id",
table: "server_role_ban",
type: "uuid",
nullable: true);
migrationBuilder.AddColumn(
name: "user_id",
table: "server_ban",
type: "uuid",
nullable: true);
migrationBuilder.AddColumn(
name: "body_type",
table: "profile",
type: "text",
nullable: false,
defaultValue: "");
}
}
}