Commit 35750c5
authored
Fix null constraint columns in add-foreign-keys template (#962)
Add default([]) filter before sort to handle cases where
constraint['columns'] may be null, preventing Twig runtime errors
during migration snapshot generation.
Fixes #9611 parent 85a6bc4 commit 35750c5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments