รวม code จากทุกคน ที่แก้ไข op ล่าสุด
This commit is contained in:
36
Migrations/25630405153506_idp.cs
Normal file
36
Migrations/25630405153506_idp.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace tb320eva.Migrations
|
||||
{
|
||||
public partial class idp : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "eva_idp_plan",
|
||||
columns: table => new
|
||||
{
|
||||
id = table.Column<int>(nullable: false),
|
||||
created = table.Column<DateTime>(nullable: false),
|
||||
updated = table.Column<DateTime>(nullable: false),
|
||||
isActive = table.Column<bool>(nullable: false),
|
||||
create_evaluation_detail_id = table.Column<int>(nullable: true),
|
||||
develop = table.Column<string>(maxLength: 1000, nullable: true),
|
||||
development_method = table.Column<string>(maxLength: 1000, nullable: true),
|
||||
start_date = table.Column<DateTime>(nullable: true),
|
||||
end_date = table.Column<DateTime>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_eva_idp_plan", x => x.id);
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "eva_idp_plan");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user