added more detail to show fks that are wrong

This commit is contained in:
2026-04-03 01:09:48 -04:00
parent 8730a828c6
commit ee8c9086ef
2 changed files with 26 additions and 2 deletions

View File

@ -240,7 +240,18 @@
"success": false,
"errors": [
{
"code": "AMBIGUOUS_TYPE_RELATIONS"
"code": "AMBIGUOUS_TYPE_RELATIONS",
"details": {
"cause": "Multiple conflicting constraints found matching prefixes",
"context": [
{
"constraint": "fk_activity_invoice_1"
},
{
"constraint": "fk_activity_invoice_2"
}
]
}
}
]
}
@ -338,7 +349,18 @@
"success": false,
"errors": [
{
"code": "AMBIGUOUS_TYPE_RELATIONS"
"code": "AMBIGUOUS_TYPE_RELATIONS",
"details": {
"cause": "Multiple conflicting constraints found matching prefixes",
"context": [
{
"constraint": "fk_junction_source_actor"
},
{
"constraint": "fk_junction_target_actor"
}
]
}
}
]
}