38 lines
1017 B
C#
38 lines
1017 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace MagMan.Data.Tenant.Migrations
|
|
{
|
|
public partial class AddProjProgress01 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<double>(
|
|
name: "ValAct",
|
|
table: "ProjList",
|
|
type: "double",
|
|
nullable: false,
|
|
defaultValue: 0.0);
|
|
|
|
migrationBuilder.AddColumn<double>(
|
|
name: "ValMax",
|
|
table: "ProjList",
|
|
type: "double",
|
|
nullable: false,
|
|
defaultValue: 1.0);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "ValAct",
|
|
table: "ProjList");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "ValMax",
|
|
table: "ProjList");
|
|
}
|
|
}
|
|
}
|