Is there a reason I would be missing a foreign key in a generated model? I was trying to expand to it but getting errors and after looking at the model it is not there. I have all the tables checked when I inferred the database.
The most common reason is that the table which the foreign key points to is missing a Primary Key Constraint. Check if this is not the case.
I validated to make sure but yes I do have a primary key which is an auto-increment int column.
We will need to take a look at the database schema. You can send us the DB as a SQL CREATE script over email.