30 lines
853 B
C#
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");
|
|
}
|
|
}
|
|
}
|