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

Correction diff schema pour les séquences

parent 2a9fe581
No related branches found
No related tags found
No related merge requests found
Pipeline #29630 passed
......@@ -68,11 +68,8 @@ class SequenceManager extends AbstractManager implements SequenceManagerInterfac
public function alter(array $old, array $new): void
{
[$oldSchema,$oldName] = Util::explodedFullObjectName($old);
[$newSchema,$newName] = Util::explodedFullObjectName($new);
$oldNormalized = Util::fullObjectName($oldSchema, $oldName);
$newNormalized = Util::fullObjectName($newSchema, $newName);
$oldNormalized = Util::fullObjectName($old['schema'] ?? 'public', $old['name']);
$newNormalized = Util::fullObjectName($new['schema'] ?? 'public', $new['name']);
if ($oldNormalized != $newNormalized) {
if ($this->sendEvent()->getReturn('no-exec')) return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment