[Maypole] Maypole::Plugin::Relationships and YAML
Tony Bowden
tony@kasei.com
Wed, 2 Feb 2005 01:12:48 +0000
On Tue, Feb 01, 2005 at 06:17:21PM -0500, Dana Hudes wrote:
> From a documentation perspective, if I have a PK that I then use as a FK
> somewhere, gosh but it makes life so much clearer to use the same name.
Why? I don't buy this one.
I find it much clearer to make FKs the name of the table to which they
refer.
I also find it much simpler to just make the PK of every table be called
'id'.
But I'm also a huge believer in the principle that Primary Keys should
always be meaningless.
Tony