Files
Mapo-IOB-WIN/EgwProxy.SqlDb/Migrations/202303150807341_AddMacProdData.cs
T

33 lines
988 B
C#

namespace EgwProxy.SqlDb.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AddMacProdData : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.MachineProdData",
c => new
{
IdxPD = c.Int(nullable: false, identity: true),
DtEve = c.DateTime(nullable: false),
IdxMacchina = c.String(maxLength: 50),
Action = c.String(),
CodComm = c.String(),
PzCount = c.Int(nullable: false),
IdxPodl = c.Int(nullable: false),
IdxOdl = c.Int(nullable: false),
})
.PrimaryKey(t => t.IdxPD);
}
public override void Down()
{
DropTable("dbo.MachineProdData");
}
}
}