migration

This commit is contained in:
Adisak 2025-11-03 17:35:15 +07:00
parent 19d665fd69
commit 3e6ee5d868
2 changed files with 21 additions and 0 deletions

View file

@ -23,6 +23,13 @@ export class AuthRole extends EntityBase {
})
roleDescription: string;
@Column({
nullable: true,
comment: "ข้อมูลที่ role admin สามารถเห็นได้",
default: null,
})
isAdminVisibled: boolean;
@OneToMany(() => AuthRoleAttr, (authRoleAttr) => authRoleAttr.authRoleAttrForRole)
authRoles: AuthRoleAttr[];