36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace APT.Data.Migrations.Migrations
|
|
{
|
|
public partial class wyw20260114 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "SCOREPER",
|
|
table: "T_SE_COURSEWEARLIBRARY_DETAIL",
|
|
type: "decimal(18,2)",
|
|
nullable: false,
|
|
defaultValue: 0m);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "SCOREPASS",
|
|
table: "T_SE_COURSEWEARLIBRARY",
|
|
type: "decimal(18,2)",
|
|
nullable: false,
|
|
defaultValue: 0m);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "SCOREPER",
|
|
table: "T_SE_COURSEWEARLIBRARY_DETAIL");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "SCOREPASS",
|
|
table: "T_SE_COURSEWEARLIBRARY");
|
|
}
|
|
}
|
|
}
|