Commit c76de9a
committed
Two-way relationships: sync partner-side onDelete on UpdateInPlace
utopia's updateRelationship updates the physical constraint on both
sides, but the Appwrite-level attributes meta doc on the partner side
keeps the old options.onDelete value. Reads from the related
collection's attribute list (Appwrite API, validators, subsequent
re-migration pre-checks) see stale data.
Mirrors the partner-side cleanup pattern already used in
dropAttributeForRecreate. One-way unaffected (onDelete change on
one-way already routes to DropAndRecreate).1 parent a36d95f commit c76de9a
1 file changed
Lines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1444 | 1444 | | |
1445 | 1445 | | |
1446 | 1446 | | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
1447 | 1455 | | |
1448 | 1456 | | |
1449 | 1457 | | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
1450 | 1497 | | |
1451 | 1498 | | |
1452 | 1499 | | |
| |||
0 commit comments