[#3293] Bad composite foreign key references generated for H2