41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace DysonNetwork.Pass.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class ReinitalMigration : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "background_id",
|
|
table: "account_profiles");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "picture_id",
|
|
table: "account_profiles");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "background_id",
|
|
table: "account_profiles",
|
|
type: "character varying(32)",
|
|
maxLength: 32,
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "picture_id",
|
|
table: "account_profiles",
|
|
type: "character varying(32)",
|
|
maxLength: 32,
|
|
nullable: true);
|
|
}
|
|
}
|
|
}
|