Skip to content
Snippets Groups Projects
Commit 8271d0d3 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Revert "MajSequences mis à la fin du dataupdater plutôt que de l'alter de schéma"

This reverts commit b58518ff.
parent b58518ff
No related branches found
No related tags found
No related merge requests found
Pipeline #28091 passed
...@@ -685,6 +685,7 @@ class Bdd ...@@ -685,6 +685,7 @@ class Bdd
$this->compilerTout(); $this->compilerTout();
$this->migration()->migration('after'); $this->migration()->migration('after');
$this->logEnd('Changements appliqués'); $this->logEnd('Changements appliqués');
$this->majSequences($ddl);
} }
...@@ -798,7 +799,7 @@ class Bdd ...@@ -798,7 +799,7 @@ class Bdd
public function majSequences(Ddl|array|null $ddl = null): void public function majSequences(Bdd|Ddl|array $ddl = null): void
{ {
if (!$ddl) { if (!$ddl) {
$ddl = $this->table()->get(); $ddl = $this->table()->get();
...@@ -821,7 +822,7 @@ class Bdd ...@@ -821,7 +822,7 @@ class Bdd
public function refreshMaterializedViews(Ddl|array|null $ddl = null): void public function refreshMaterializedViews($ddl = null): void
{ {
if (!$ddl) { if (!$ddl) {
$ddl = $this->materializedView()->get(); $ddl = $this->materializedView()->get();
......
...@@ -47,8 +47,6 @@ class DataUpdater ...@@ -47,8 +47,6 @@ class DataUpdater
$this->syncTable($table, $action, $config); $this->syncTable($table, $action, $config);
} }
} }
$this->bdd->majSequences();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment