using System; using Microsoft.EntityFrameworkCore.Migrations; namespace COA.EnterpriseServices.DataAccess.EntityFramework.Migrations { public partial class addclientdbset : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Clients", columns: table => new { Id = table.Column(nullable: false) .Annotation("SqlServer:Identity", "1, 1"), Created = table.Column(nullable: false), Modified = table.Column(nullable: false), FirstName = table.Column(nullable: true), LastName = table.Column(nullable: true), Email = table.Column(nullable: true), Phone = table.Column(nullable: false), Address = table.Column(nullable: true), City = table.Column(nullable: true), State = table.Column(nullable: true), Zip = table.Column(nullable: true) }, constraints: table => { table.PrimaryKey("PK_Clients", x => x.Id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Clients"); } } }