Commit e5ff5020 authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

suite...

parent 10bb21ab
......@@ -36,7 +36,11 @@ class MigrationESCodeRh extends AbstractMigration
public function action(string $contexte)
{
$this->manager->getBdd()->exec('DROP MATERIALIZED VIEW MV_EXT_SERVICE');
try {
$this->manager->getBdd()->exec('DROP MATERIALIZED VIEW MV_EXT_SERVICE');
} catch (\Exception $e) {
// rien à faire si la MV n'existait pas...
}
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment