อนุมัติและส่งต่อ การปรับเลื่อน ค่าตอบแทน
This commit is contained in:
1257
Migrations/20220501044125_AddPostponementStatus.Designer.cs
generated
Normal file
1257
Migrations/20220501044125_AddPostponementStatus.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
92
Migrations/20220501044125_AddPostponementStatus.cs
Normal file
92
Migrations/20220501044125_AddPostponementStatus.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace tb320eva.Migrations
|
||||
{
|
||||
public partial class AddPostponementStatus : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "postponement_status",
|
||||
table: "eva_adjust_postponement",
|
||||
maxLength: 5,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "postponement_status_by",
|
||||
table: "eva_adjust_postponement",
|
||||
maxLength: 255,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "postponement_status_date",
|
||||
table: "eva_adjust_postponement",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "postponement_status_note",
|
||||
table: "eva_adjust_postponement",
|
||||
maxLength: 1000,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "quota_status",
|
||||
table: "eva_adjust_postponement",
|
||||
maxLength: 5,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "quota_status_by",
|
||||
table: "eva_adjust_postponement",
|
||||
maxLength: 255,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "quota_status_date",
|
||||
table: "eva_adjust_postponement",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "quota_status_note",
|
||||
table: "eva_adjust_postponement",
|
||||
maxLength: 1000,
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "postponement_status",
|
||||
table: "eva_adjust_postponement");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "postponement_status_by",
|
||||
table: "eva_adjust_postponement");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "postponement_status_date",
|
||||
table: "eva_adjust_postponement");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "postponement_status_note",
|
||||
table: "eva_adjust_postponement");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "quota_status",
|
||||
table: "eva_adjust_postponement");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "quota_status_by",
|
||||
table: "eva_adjust_postponement");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "quota_status_date",
|
||||
table: "eva_adjust_postponement");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "quota_status_note",
|
||||
table: "eva_adjust_postponement");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -90,6 +90,28 @@ namespace tb320eva.Migrations
|
||||
|
||||
b.Property<decimal?>("percentage");
|
||||
|
||||
b.Property<string>("postponement_status")
|
||||
.HasMaxLength(5);
|
||||
|
||||
b.Property<int?>("postponement_status_by")
|
||||
.HasMaxLength(255);
|
||||
|
||||
b.Property<DateTime?>("postponement_status_date");
|
||||
|
||||
b.Property<string>("postponement_status_note")
|
||||
.HasMaxLength(1000);
|
||||
|
||||
b.Property<string>("quota_status")
|
||||
.HasMaxLength(5);
|
||||
|
||||
b.Property<int?>("quota_status_by")
|
||||
.HasMaxLength(255);
|
||||
|
||||
b.Property<DateTime?>("quota_status_date");
|
||||
|
||||
b.Property<string>("quota_status_note")
|
||||
.HasMaxLength(1000);
|
||||
|
||||
b.Property<string>("report_type")
|
||||
.HasMaxLength(1000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user