DevTools not generating Foreign Keys

Anyone else having this issue? I've posted it on GitHub also with no response: https://github.com/phalcon/phalcon-devtools/issues/231

I had a similar problem.

make sure you do not have indexes with the same name.

sorry for my english.

Do you see a problem with the tables posted on that link? Seems fine to me IMO

you have two primary keys with same name and same index.

can that be the problem.

The 2 primary keys are in different tables so this shouldn't be an issue, surely?

PRIMARY KEY (id),