Doctrine\DBAL\Schema\SchemaDiff::toSaveSql
The to save sql mode ensures that the following things don't happen:
1. Tables are deleted 2. Sequences are deleted 3. Foreign Keys which reference tables that would otherwise be deleted. This way it is ensured that assets are deleted which might not be relevant to the metadata schema at all.
Signature
public function toSaveSql(AbstractPlatform
$platform )
Parameters
$platform
— Doctrine\DBAL\Platforms\AbstractPlatform
Returns
- array