คิวรี่ ขร1.
This commit is contained in:
parent
1147011980
commit
ee884f9434
6 changed files with 16352 additions and 10 deletions
16154
BMA.EHR.Infrastructure/Migrations/20230904044041_update table profile EmployeeWage double.Designer.cs
generated
Normal file
16154
BMA.EHR.Infrastructure/Migrations/20230904044041_update table profile EmployeeWage double.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,42 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetableprofileEmployeeWagedouble : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<double>(
|
||||
name: "EmployeeWage",
|
||||
table: "Profiles",
|
||||
type: "double",
|
||||
nullable: true,
|
||||
comment: "ค่าจ้าง",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "longtext",
|
||||
oldNullable: true,
|
||||
oldComment: "ค่าจ้าง")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "EmployeeWage",
|
||||
table: "Profiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ค่าจ้าง",
|
||||
oldClrType: typeof(double),
|
||||
oldType: "double",
|
||||
oldNullable: true,
|
||||
oldComment: "ค่าจ้าง")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1058,8 +1058,8 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ประเภทบุคคล");
|
||||
|
||||
b.Property<string>("EmployeeWage")
|
||||
.HasColumnType("longtext")
|
||||
b.Property<double?>("EmployeeWage")
|
||||
.HasColumnType("double")
|
||||
.HasComment("ค่าจ้าง");
|
||||
|
||||
b.Property<string>("EntryStatus")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue