diff --git a/htdocs/install/mysql/migration/3.3.0-3.4.0.sql b/htdocs/install/mysql/migration/3.3.0-3.4.0.sql index fd779495e3e..0a5a4a94642 100755 --- a/htdocs/install/mysql/migration/3.3.0-3.4.0.sql +++ b/htdocs/install/mysql/migration/3.3.0-3.4.0.sql @@ -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_frontoffice.php'; +ALTER TABLE llx_user add COLUMN fk_user integer; + diff --git a/htdocs/install/mysql/tables/llx_user.sql b/htdocs/install/mysql/tables/llx_user.sql index bc4d75f0869..3974096085f 100644 --- a/htdocs/install/mysql/tables/llx_user.sql +++ b/htdocs/install/mysql/tables/llx_user.sql @@ -50,6 +50,7 @@ create table llx_user fk_societe integer, fk_socpeople integer, fk_member integer, + fk_user integer, -- Hierarchic parent note text DEFAULT NULL, datelastlogin datetime, datepreviouslogin datetime,