timscott/catnap — Issue #6: BelongsTo should allow specification of binding column name
Author: franckleveque
Created: 2012-03-06 13:04:57+00:00
State: open

All company doesn't have the same database rules, so we should be able to specify the binding column name as we do with properties. Ex : At work, we use short unique identifier for each tables and foreign keys are named by each tables unique identifier and followed by Fk
If we take the Forum / Post / Person tables, the column containing the id of person who has made the post would be called
PostPersonFk.