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(type: "bigint", nullable: false) .Annotation("SqlServer:Identity", "1, 1"), ItemSetId = table.Column(type: "bigint", nullable: false), ItemSetFriendlyName = table.Column(type: "nvarchar(max)", nullable: false), FriendlyName = table.Column(type: "nvarchar(max)", nullable: false), Tooltip = table.Column(type: "nvarchar(max)", nullable: false), IsQuery = table.Column(type: "bit", nullable: false), Unique = table.Column(type: "bit", nullable: false), SubscribersOnly = table.Column(type: "bit", nullable: false), ConsumableItemDesc = table.Column(type: "nvarchar(max)", nullable: false), AvatarItemDesc = table.Column(type: "nvarchar(max)", nullable: false), AvatarItemType = table.Column(type: "int", nullable: false), EquipmentPrefabName = table.Column(type: "nvarchar(max)", nullable: false), EquipmentModificationGuid = table.Column(type: "nvarchar(max)", nullable: false), CurrencyType = table.Column(type: "int", nullable: false), Currency = table.Column(type: "int", nullable: false), Context = table.Column(type: "int", nullable: false), Rarity = table.Column(type: "int", nullable: false), IsFeatured = table.Column(type: "bit", nullable: false), Accessibility = table.Column(type: "int", nullable: false) }, constraints: table => { table.PrimaryKey("PK_GiftItems", x => x.GiftDropId); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "GiftItems"); } } }