Files
mapo-mono/MP.MONO.Data/Migrations/20220611085610_AddStartCountSchedTask.cs
Samuele Locatelli 46d6ae7ae2 - aggiunta valore start contatore x ogni SchedTask
- migration
- refresh
2022-06-11 10:57:11 +02:00

27 lines
723 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace MP.MONO.Data.Migrations
{
public partial class AddStartCountSchedTask : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<double>(
name: "CountStartVal",
table: "ScheduledMaintTask",
type: "double",
nullable: false,
defaultValue: 0.0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CountStartVal",
table: "ScheduledMaintTask");
}
}
}