songjun
2025-09-15 15e82c0dd4200a332b30e2fcd458ad84e2e3d428
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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");
        }
    }
}