using Microsoft.EntityFrameworkCore.Migrations; namespace RMuseum.Migrations { public partial class DiwanHealthCheckError : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "DiwanHealthCheckErrors", columns: table => new { Id = table.Column(type: "int", nullable: false) .Annotation("SqlServer:Identity", "1, 1"), ReferrerPageUrl = table.Column(type: "nvarchar(max)", nullable: true), BrokenLink = table.Column(type: "bit", nullable: false), MulipleTargets = table.Column(type: "bit", nullable: false), TargetUrl = table.Column(type: "nvarchar(max)", nullable: true) }, constraints: table => { table.PrimaryKey("PK_DiwanHealthCheckErrors", x => x.Id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "DiwanHealthCheckErrors"); } } }