Skip to content

Commit

Permalink
Merge branch 'hotfix/fix_install_error_tablenotexist' into 'release/2…
Browse files Browse the repository at this point in the history
….3.0'

Fix install error table not exist

See merge request metamodels/core!328
  • Loading branch information
zonky2 committed Sep 11, 2024
2 parents 2bb15aa + a3b6622 commit 92dfeca
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 92dfeca

Please sign in to comment.