On 9/8/06 11:17 PM, Clayton Scott wrote:
> sub plural_to_singular { $_[1] }
> sub singular_to_plural { $_[1] }
I'm not sure what you're aiming for with that bit, but it's what's causing
the conflict (albeit in a roundabout way). If you just want the table names
to be singular, set the tables_are_
For the following example I'm using postgresql 8.0 and I have a custom
convention manager:
Given the following tables:
CREATE TABLE person
(
id INTEGER NOT NULL DEFAULT,
name CHAR(100) NOT NULL,
email CHAR(100) NOT NULL,
title CHAR(100) NULL
);
CREATE TABLE phone