using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace SVSim.Database.Migrations
{
///
public partial class AddTutorialPresentEntries : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "TutorialPresentEntries",
columns: table => new
{
PresentId = table.Column(type: "character varying(64)", maxLength: 64, nullable: false),
RewardType = table.Column(type: "integer", nullable: false),
RewardDetailId = table.Column(type: "bigint", nullable: false),
RewardCount = table.Column(type: "bigint", nullable: false),
ItemType = table.Column(type: "integer", nullable: true),
Message = table.Column(type: "text", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_TutorialPresentEntries", x => x.PresentId);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "TutorialPresentEntries");
}
}
}