BS-9877, remove 'ON DELETE CASCADE' from parentId pk, this option is no supported by SQL Server on self-referenced FKs