using Microsoft.EntityFrameworkCore.Migrations; namespace COA.EnterpriseServices.DataAccess.EntityFramework.Migrations { public partial class initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Creditors", columns: table => new { Id = table.Column(nullable: false) .Annotation("SqlServer:Identity", "1, 1") }, constraints: table => { table.PrimaryKey("PK_Creditors", x => x.Id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Creditors"); } } }