Foreign keys in Generator config
I certainly hope development on CoughPHP has stopped! I've only just found it!
I'm looking to manually specify foreign keys in the generator config. What I am testing out this software with is, as many other people, a blog system. One table has two references to the PK of my user's table, to allow for the possibility of another user on the system performing an action that needs to be logged.
So for the "author" field, I use the field name of "user_id" which automatically links back to the "user" table's PK. But there is also a field recording who approved an action, "approved _by", and that should link back to the "user" table's PK also. How do I specify that in the config??
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- CoughPHP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask nloding for more information if necessary.