Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OSE
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
OSE
Commits
1eb6c75d
Commit
1eb6c75d
authored
Jul 18, 2019
by
Laurent Lecluse
Browse files
Options
Downloads
Patches
Plain Diff
Calcul automatique en fin de MAJ du taux HETD
parent
96cbba44
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
admin/actions/update-bdd.php
+4
-2
4 additions, 2 deletions
admin/actions/update-bdd.php
admin/src/BddAdmin/Schema.php
+1
-1
1 addition, 1 deletion
admin/src/BddAdmin/Schema.php
with
5 additions
and
3 deletions
admin/actions/update-bdd.php
+
4
−
2
View file @
1eb6c75d
...
@@ -45,10 +45,12 @@ $schema->alter($ref, $ddlConfig, true);
...
@@ -45,10 +45,12 @@ $schema->alter($ref, $ddlConfig, true);
$c
->
println
(
"
\n
"
.
'Mise à jour des séquences'
,
$c
::
COLOR_LIGHT_PURPLE
);
$c
->
println
(
"
\n
"
.
'Mise à jour des séquences'
,
$c
::
COLOR_LIGHT_PURPLE
);
$schema
->
majSequences
(
$ref
);
$schema
->
majSequences
(
$ref
);
$c
->
println
(
"
\n
"
.
'
M
ise à jour des données'
,
$c
::
COLOR_LIGHT_PURPLE
);
$c
->
println
(
"
\n
"
.
'
Contrôle et m
ise à jour des données'
,
$c
::
COLOR_LIGHT_PURPLE
);
$dataGen
=
new
DataGen
(
$oa
);
$dataGen
=
new
DataGen
(
$oa
);
$dataGen
->
update
();
$dataGen
->
update
();
$c
->
println
(
''
);
$c
->
println
(
''
);
$oa
->
migration
(
'post'
);
$oa
->
migration
(
'post'
);
$c
->
println
(
''
);
\ No newline at end of file
$c
->
println
(
"
\n
"
.
'Mise à jour du point d\'indice pour les HETD'
,
$c
::
COLOR_LIGHT_PURPLE
);
$bdd
->
exec
(
'BEGIN OSE_FORMULE.UPDATE_ANNEE_TAUX_HETD; END;'
);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
admin/src/BddAdmin/Schema.php
+
1
−
1
View file @
1eb6c75d
...
@@ -442,7 +442,7 @@ class Schema
...
@@ -442,7 +442,7 @@ class Schema
if
(
$mode
!=
'drop'
&&
$autoExecute
)
{
// create ou alter
if
(
$mode
!=
'drop'
&&
$autoExecute
)
{
// create ou alter
if
(
$this
->
logger
){
if
(
$this
->
logger
){
$this
->
logger
->
logTitle
(
'Compilation de tous les objets de la BDD'
);
$this
->
logger
->
logTitle
(
"
\n
"
.
'Compilation de tous les objets de la BDD'
);
}
}
if
(
empty
(
$this
->
compilerTout
())
&&
$this
->
logger
){
if
(
empty
(
$this
->
compilerTout
())
&&
$this
->
logger
){
$this
->
logger
->
log
(
'Compilation effectuée avec succès.'
);
$this
->
logger
->
log
(
'Compilation effectuée avec succès.'
);
...
...
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