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
43fe5766
Commit
43fe5766
authored
12 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
New: Holiday need to support half day to be usefull.
parent
88ffda4b
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.2.0-3.3.0.sql
+3
-0
3 additions, 0 deletions
htdocs/install/mysql/migration/3.2.0-3.3.0.sql
htdocs/install/mysql/tables/llx_holiday.sql
+1
-0
1 addition, 0 deletions
htdocs/install/mysql/tables/llx_holiday.sql
with
4 additions
and
0 deletions
htdocs/install/mysql/migration/3.2.0-3.3.0.sql
+
3
−
0
View file @
43fe5766
...
...
@@ -172,6 +172,7 @@ date_create datetime NOT NULL ,
description
varchar
(
255
)
NOT
NULL
,
date_debut
date
NOT
NULL
,
date_fin
date
NOT
NULL
,
halfday
integer
DEFAULT
0
,
statut
integer
NOT
NULL
DEFAULT
'1'
,
fk_validator
integer
NOT
NULL
,
date_valid
datetime
DEFAULT
NULL
,
...
...
@@ -183,6 +184,8 @@ fk_user_cancel integer DEFAULT NULL,
detail_refuse
varchar
(
250
)
DEFAULT
NULL
)
ENGINE
=
innodb
;
ALTER
TABLE
llx_holiday
ADD
COLUMN
halfday
integer
DEFAULT
0
after
date_fin
;
ALTER
TABLE
llx_holiday
ADD
INDEX
idx_holiday_fk_user
(
fk_user
);
ALTER
TABLE
llx_holiday
ADD
INDEX
idx_holiday_date_debut
(
date_debut
);
...
...
This diff is collapsed.
Click to expand it.
htdocs/install/mysql/tables/llx_holiday.sql
+
1
−
0
View file @
43fe5766
...
...
@@ -24,6 +24,7 @@ date_create DATETIME NOT NULL,
description
VARCHAR
(
255
)
NOT
NULL
,
date_debut
DATE
NOT
NULL
,
date_fin
DATE
NOT
NULL
,
halfday
integer
DEFAULT
0
,
statut
integer
NOT
NULL
DEFAULT
'1'
,
fk_validator
integer
NOT
NULL
,
date_valid
DATETIME
DEFAULT
NULL
,
...
...
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