LootBoxGenerator/LootBoxSimulator/Migrations/20241204111858_AddDescripForItem.cs

30 lines
766 B
C#
Raw Normal View History

2024-12-10 08:29:58 +00:00
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace LootBoxSimulator.Migrations
{
/// <inheritdoc />
public partial class AddDescripForItem : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Description",
table: "Items",
type: "text",
nullable: false,
defaultValue: "");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Description",
table: "Items");
}
}
}