migrate
This commit is contained in:
parent
64470b67a1
commit
6f6b6bba43
3 changed files with 428 additions and 0 deletions
|
|
@ -89,6 +89,8 @@ import { ViewColumn, ViewEntity } from "typeorm";
|
|||
p.gender,
|
||||
p.relationship,
|
||||
p.dateAppoint,
|
||||
p.dateRetire,
|
||||
p.dateRetireLaw,
|
||||
p.birthdate,
|
||||
ed.degree,
|
||||
TIMESTAMPDIFF(YEAR, p.birthdate, CURDATE()) AS age
|
||||
|
|
|
|||
|
|
@ -93,6 +93,8 @@ import { ViewColumn, ViewEntity } from "typeorm";
|
|||
p.gender,
|
||||
p.relationship,
|
||||
p.dateAppoint,
|
||||
p.dateRetire,
|
||||
p.dateRetireLaw,
|
||||
p.birthdate,
|
||||
ed.degree,
|
||||
TIMESTAMPDIFF(YEAR, p.birthdate, CURDATE()) AS age
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue