dbal
dbal copied to clipboard
Change the type of a foreign key field
Bug Report
| Q | A |
|---|---|
| Version | 3.6 |
Summary
When we change the type of a foreign key and the referenced column simultaneously, the result should be valid, but the migration fails due to foreign key constraints. We need to make sure that the keys are dropped and recreated properly.
Current behaviour
How to reproduce
See #5991 for a failing test.
Expected behaviour
The test should pass.
@derrabus Do you have any lead on how this could be achieved ? I could try to spend some time on it but don't know where to start