31 lines
913 B
C#
31 lines
913 B
C#
namespace EgtBEAMWALL.DataLayer.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class AddMagmanSyncTab : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
CreateTable(
|
|
"dbo.MagmanSync",
|
|
c => new
|
|
{
|
|
SyncId = c.Int(nullable: false, identity: true),
|
|
SyncType = c.String(unicode: false),
|
|
CloudId = c.Int(nullable: false),
|
|
DtReq = c.DateTime(nullable: false, precision: 0),
|
|
DtExe = c.DateTime(precision: 0),
|
|
Payload = c.String(unicode: false),
|
|
})
|
|
.PrimaryKey(t => t.SyncId);
|
|
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
DropTable("dbo.MagmanSync");
|
|
}
|
|
}
|
|
}
|