I lost my informix foreign key constraint

Recently I was working on an unrelated issue and I noticed that there was no foreign key constraint on a relationship that I thought obviously should have one.

I decided to investigate the database migrations for both of these tables to see if this was just an oversight or something different. For this post, let’s call the two tables “test” and “test_reference”

First I looked at all the revisions for the table “test”. Low and behold the fk constraint was there when the table was created: