using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace FutureMailAPI.Migrations
{
///
public partial class AddUserPreferences : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "PreferredBackground",
table: "Users",
type: "TEXT",
maxLength: 50,
nullable: true);
migrationBuilder.AddColumn(
name: "PreferredScene",
table: "Users",
type: "TEXT",
maxLength: 20,
nullable: true);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "PreferredBackground",
table: "Users");
migrationBuilder.DropColumn(
name: "PreferredScene",
table: "Users");
}
}
}