ForeignKeyFixer
class ForeignKeyFixer (View source)
Properties
private Connection | $connection | ||
private AbstractSchemaManager | $schemaManager | ||
private Closure|null | $tick |
Methods
fixForeignKeys(array $tableNames = null, ArrayAccess $errors = null)
Fix the foreign key definitions.
fixForeignKeysInTable(string $tableName, array $actualTableNames, ArrayAccess $errors)
No description
fixForeignKey(ForeignKeyConstraint $foreignKey, array $actualTableNames, ArrayAccess $errors)
No description
Details
__construct(Connection $connection)
No description
$this
setTick(Closure $value = null)
Set a callback to be called to log/display progress.
fixForeignKeys(array $tableNames = null, ArrayAccess $errors = null)
Fix the foreign key definitions.
private
fixForeignKeysInTable(string $tableName, array $actualTableNames, ArrayAccess $errors)
No description
private
fixForeignKey(ForeignKeyConstraint $foreignKey, array $actualTableNames, ArrayAccess $errors)
No description