mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-27 16:09:07 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RadicadeServer.Migrations
|
||||
{
|
||||
|
||||
public partial class GiftsTest : Migration
|
||||
{
|
||||
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "GiftItems",
|
||||
columns: table => new
|
||||
{
|
||||
GiftDropId = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
ItemSetId = table.Column<long>(type: "bigint", nullable: false),
|
||||
ItemSetFriendlyName = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
FriendlyName = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
Tooltip = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
IsQuery = table.Column<bool>(type: "bit", nullable: false),
|
||||
Unique = table.Column<bool>(type: "bit", nullable: false),
|
||||
SubscribersOnly = table.Column<bool>(type: "bit", nullable: false),
|
||||
ConsumableItemDesc = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
AvatarItemDesc = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
AvatarItemType = table.Column<int>(type: "int", nullable: false),
|
||||
EquipmentPrefabName = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
EquipmentModificationGuid = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
CurrencyType = table.Column<int>(type: "int", nullable: false),
|
||||
Currency = table.Column<int>(type: "int", nullable: false),
|
||||
Context = table.Column<int>(type: "int", nullable: false),
|
||||
Rarity = table.Column<int>(type: "int", nullable: false),
|
||||
IsFeatured = table.Column<bool>(type: "bit", nullable: false),
|
||||
Accessibility = table.Column<int>(type: "int", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_GiftItems", x => x.GiftDropId);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "GiftItems");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user