propelorm/Propel — pull request #498 by kcivey (2012-11-05 18:26:44+00:00)
Title: fix column names in versionable with Postgres

When using Postgres, the versionable behavior produces invalid column names for the *_ids and *_versions columns, because the foreign table name it uses as a prefix includes the Postgres schema name and a dot. This pull request strips off that schema and dot from the table name when generating the column names.

This is probably not the real way to fix the problem, since presumably there are other places where the Postgres schema prefix on the table name gets in the way. Maybe there needs to be a new method in Table that returns the table name without the schema added.