Add field employee for hr module
This commit is contained in:
parent
531ef43a27
commit
1000fd1b21
@ -100,3 +100,7 @@ ALTER TABLE llx_ecm_files ADD UNIQUE INDEX uk_ecm_files (label, entity);
|
|||||||
|
|
||||||
|
|
||||||
ALTER TABLE llx_product ADD COLUMN onportal tinyint DEFAULT 0 after tobuy;
|
ALTER TABLE llx_product ADD COLUMN onportal tinyint DEFAULT 0 after tobuy;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE llx_user ADD COLUMN employee tinyint DEFAULT 1;
|
||||||
|
|
||||||
|
|||||||
@ -74,6 +74,7 @@ create table llx_user
|
|||||||
nb_holiday integer DEFAULT 0,
|
nb_holiday integer DEFAULT 0,
|
||||||
thm double(24,8),
|
thm double(24,8),
|
||||||
tjm double(24,8),
|
tjm double(24,8),
|
||||||
|
employee tinyint DEFAULT 1, -- 1 if user is an employee
|
||||||
salary double(24,8),
|
salary double(24,8),
|
||||||
salaryextra double(24,8),
|
salaryextra double(24,8),
|
||||||
weeklyhours double(16,8)
|
weeklyhours double(16,8)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user