Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
05b0ab2e
Commit
05b0ab2e
authored
9 years ago
by
aspangaro
Browse files
Options
Downloads
Patches
Plain Diff
HRM: Add fk_establishment in llx_user to link an user to an establishment
parent
e673b188
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/install/mysql/migration/3.8.0-3.9.0.sql
+2
-1
2 additions, 1 deletion
htdocs/install/mysql/migration/3.8.0-3.9.0.sql
htdocs/install/mysql/tables/llx_user.sql
+1
-0
1 addition, 0 deletions
htdocs/install/mysql/tables/llx_user.sql
with
3 additions
and
1 deletion
htdocs/install/mysql/migration/3.8.0-3.9.0.sql
+
2
−
1
View file @
05b0ab2e
...
...
@@ -111,7 +111,8 @@ ALTER TABLE llx_ecm_files ADD UNIQUE INDEX uk_ecm_files (label, entity);
ALTER
TABLE
llx_product
ADD
COLUMN
onportal
smallint
DEFAULT
0
AFTER
tobuy
;
ALTER
TABLE
llx_user
ADD
COLUMN
employee
smallint
DEFAULT
1
;
ALTER
TABLE
llx_user
ADD
COLUMN
employee
smallint
DEFAULT
1
AFTER
ref_int
;
ALTER
TABLE
llx_user
ADD
COLUMN
fk_establishment
integer
DEFAULT
0
AFTER
employee
;
CREATE
TABLE
IF
NOT
EXISTS
llx_c_hrm_function
...
...
This diff is collapsed.
Click to expand it.
htdocs/install/mysql/tables/llx_user.sql
+
1
−
0
View file @
05b0ab2e
...
...
@@ -27,6 +27,7 @@ create table llx_user
ref_int
varchar
(
50
),
-- reference into an internal system (deprecated)
employee
tinyint
DEFAULT
1
,
-- 1 if user is an employee
fk_establishment
integer
DEFAULT
0
,
datec
datetime
,
tms
timestamp
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment