36 lines
1022 B
C#
36 lines
1022 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace APT.Data.Migrations.Migrations
|
|
{
|
|
public partial class wyw2025112802 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "IN_OUT",
|
|
table: "T_SE_TRAIN_NOTIFY",
|
|
type: "int",
|
|
nullable: false,
|
|
defaultValue: 5);
|
|
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "TRAINTYPE",
|
|
table: "T_SE_TRAIN_NOTIFY",
|
|
type: "int",
|
|
nullable: false,
|
|
defaultValue: 50);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "IN_OUT",
|
|
table: "T_SE_TRAIN_NOTIFY");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "TRAINTYPE",
|
|
table: "T_SE_TRAIN_NOTIFY");
|
|
}
|
|
}
|
|
}
|