using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace SVSim.Database.Migrations { /// public partial class DropDefaultLeaderSkinSettings : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "DefaultLeaderSkinSettings"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "DefaultLeaderSkinSettings", columns: table => new { Id = table.Column(type: "integer", nullable: false), ClassId = table.Column(type: "integer", nullable: false), DateCreated = table.Column(type: "timestamp with time zone", nullable: false), DateUpdated = table.Column(type: "timestamp with time zone", nullable: true), IsRandomLeaderSkin = table.Column(type: "integer", nullable: false), LeaderSkinId = table.Column(type: "integer", nullable: false) }, constraints: table => { table.PrimaryKey("PK_DefaultLeaderSkinSettings", x => x.Id); }); } } }