Migrate update employeePosLevel.posLevelName Change Int to Number
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m18s

This commit is contained in:
harid 2026-02-24 13:28:57 +07:00
parent e8890133bb
commit cdbdfce7af
4 changed files with 53 additions and 17 deletions

View file

@ -14,9 +14,13 @@ enum EmployeePosLevelAuthoritys {
export class EmployeePosLevel extends EntityBase {
@Column({
comment: "ชื่อระดับชั้นงาน",
type: "int",
// type: "int",
nullable: true,
length: 255,
default: null,
})
posLevelName: number;
// posLevelName: number;
posLevelName: string;
@Column({
comment: "ระดับของระดับชั้นงาน",
@ -59,7 +63,7 @@ export class EmployeePosLevel extends EntityBase {
export class CreateEmployeePosLevel {
@Column()
posLevelName: number;
posLevelName: string;
@Column()
posLevelRank: number;