Skip to content

Commit

Permalink
Fix install error table not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 committed Sep 11, 2024
1 parent 2bb15aa commit a3b6622
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Events/DatabaseBackedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,10 @@ public function collectMetaModelTableNames(CollectMetaModelTableNamesEvent $even
return;
}

if (!$this->database->createSchemaManager()->tablesExist(['tl_metamodel'])) {
return;
}

$tables = $this
->database
->createQueryBuilder()
Expand Down

0 comments on commit a3b6622

Please sign in to comment.