The fromRaw formatter for the Columns field in unique constraint and primary key properties used _.filter(allOptions, ...), which preserved the order of allOptions (table column position) rather than the constraint-defined column order from backendVal. Replaced with _.find mapped over backendVal to preserve the correct constraint column order. Added unit tests for cell and type formatter functions to verify column ordering is preserved. |
||
|---|---|---|
| .. | ||
| servers | ||
| static | ||
| templates/css | ||
| tests | ||
| __init__.py | ||