Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
None
Description
The following warning is displayed while running ibexa:install command:
[WARNING] Not passing the "--complete" option to "doctrine:schema:update" is deprecated and will not be supported when using doctrine/dbal 4
However be aware that
--complete option is passed, this task will drop all database assets (e.g. tables, etc) that are *not* described by the current metadata. In other words, without this option, this task leaves untouched any "extra" tables that exist in the database, but which aren't described by any metadata. Not passing that option is deprecated. Hint: If you have a database with tables that should not be managed by the ORM, you can use a DBAL functionality to filter the tables and sequences down on a global level: $config->setSchemaAssetsFilter(function (string|AbstractAsset $assetName): bool { if ($assetName instanceof AbstractAsset) { $assetName = $assetName->getName(); } return !str_starts_with($assetName, 'audit_'); });