New: Add field to store hierarchy of users.
This commit is contained in:
parent
ab82a293e9
commit
7ee530f826
@ -31,3 +31,5 @@ UPDATE llx_const set value='auguria_menu.php' where value='auguria_frontoffice.p
|
|||||||
UPDATE llx_const set value='smartphone_menu.php' where value='smartphone_backoffice.php';
|
UPDATE llx_const set value='smartphone_menu.php' where value='smartphone_backoffice.php';
|
||||||
UPDATE llx_const set value='smartphone_menu.php' where value='smartphone_frontoffice.php';
|
UPDATE llx_const set value='smartphone_menu.php' where value='smartphone_frontoffice.php';
|
||||||
|
|
||||||
|
ALTER TABLE llx_user add COLUMN fk_user integer;
|
||||||
|
|
||||||
|
|||||||
@ -50,6 +50,7 @@ create table llx_user
|
|||||||
fk_societe integer,
|
fk_societe integer,
|
||||||
fk_socpeople integer,
|
fk_socpeople integer,
|
||||||
fk_member integer,
|
fk_member integer,
|
||||||
|
fk_user integer, -- Hierarchic parent
|
||||||
note text DEFAULT NULL,
|
note text DEFAULT NULL,
|
||||||
datelastlogin datetime,
|
datelastlogin datetime,
|
||||||
datepreviouslogin datetime,
|
datepreviouslogin datetime,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user