reproducing unidirectional onetomany foreign key not null bug