namespace sbcLabSystem.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class addUserRequestInfo : DbMigration { public override void Up() { CreateTable( "dbo.UserRequestInfoes", c => new { Id = c.Int(nullable: false, identity: true), CompanyName = c.String(), LabName = c.String(), Address = c.String(), Province = c.String(), City = c.String(), District = c.String(), PostCode = c.String(), ManagerName = c.String(), ManagerPhone = c.String(), ManagerFax = c.String(), ManagerMobile = c.String(), ManagerEmail = c.String(), OperatorName = c.String(), OperatorPhone = c.String(), OperatorFax = c.String(), OperatorMobile = c.String(), OperatorEmail = c.String(), ProjectId = c.Int(nullable: false), RequestTime = c.DateTime(nullable: false), }) .PrimaryKey(t => t.Id); } public override void Down() { DropTable("dbo.UserRequestInfoes"); } } }