[Solved] Update vom 7.10.4. to 8 fails - pq: there is no unique or exclusion constraint matching the ON CONF LICT specification

This solved the issue:

delete from systems where name = 'migration_advanced_permissions_phase_2';