46d6ae7ae2
- migration - refresh
27 lines
723 B
C#
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");
|
|
}
|
|
}
|
|
}
|