namespace sbcLabSystem.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class addEmailSmtpInfo : DbMigration { public override void Up() { CreateTable( "dbo.EmailSmtpInfoes", c => new { Id = c.Int(nullable: false, identity: true), Host = c.String(), UserEmail = c.String(), Password = c.String(), IsEnableSSL = c.Boolean(nullable: false), SSLPort = c.Int(nullable: false), ConfigureName = c.String(), IsDefault = c.Boolean(nullable: false), }) .PrimaryKey(t => t.Id); } public override void Down() { DropTable("dbo.EmailSmtpInfoes"); } } }