Files
cms_thermo_active/Thermo.Active.Database/Migrations/202103191608500_HistorySheets.cs
T
2021-03-19 17:11:18 +01:00

30 lines
853 B
C#

namespace Thermo.Active.Database.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class HistorySheets : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.HistorySheets",
c => new
{
DtEvent = c.DateTime(nullable: false, precision: 0),
Recipe = c.String(unicode: false),
FirstVal = c.Single(nullable: false),
SecondVal = c.Single(nullable: false),
ThirdVal = c.Single(nullable: false),
})
.PrimaryKey(t => t.DtEvent);
}
public override void Down()
{
DropTable("dbo.HistorySheets");
}
}
}