Files
mapo-mono/MP.MONO.Data/Migrations/20220610155849_AddSchedTask.cs
Samuele Locatelli a45b93a177 - Aggiunta task schedMigrations
- Aggiunta info x SIM
2022-06-10 17:59:41 +02:00

39 lines
1.1 KiB
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace MP.MONO.Data.Migrations
{
public partial class AddSchedTask : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<double>(
name: "ActualVal",
table: "Counter",
type: "double",
nullable: false,
defaultValue: 0.0);
migrationBuilder.AddColumn<DateTime>(
name: "LastReset",
table: "Counter",
type: "datetime(6)",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ActualVal",
table: "Counter");
migrationBuilder.DropColumn(
name: "LastReset",
table: "Counter");
}
}
}