Ultimate

X_SUBJECT_CYCLE

Means

the subject erase has no deletion order

Typical cause

two tables the erase deletes reference each other (or one references itself) and no foreign key in the loop is nullable, so neither side can go first

Fix

x db gen "nullable <column>" after making one key in the loop .nullable(): the erase clears a nullable key before deleting either side

Listed under Jobs

This page as markdown