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
33
34
| namespace sbcLabSystem.Data.Migrations
| {
| using System;
| using System.Data.Entity.Migrations;
|
| public partial class ADDEmile : DbMigration
| {
| public override void Up()
| {
| CreateTable(
| "dbo.EmileInfoes",
| c => new
| {
| Id = c.Int(nullable: false, identity: true),
| Type = c.Int(nullable: false),
| Explain = c.String(),
| Title = c.String(),
| Boody = c.String(),
| EmileName = c.String(),
| SendOutDatetime = c.String(),
| Column1 = c.String(),
| Column2 = c.String(),
| Column3 = c.String(),
| })
| .PrimaryKey(t => t.Id);
|
| }
|
| public override void Down()
| {
| DropTable("dbo.EmileInfoes");
| }
| }
| }
|
|