fix column names in versionable with Postgres #498

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

kcivey commented Nov 5, 2012

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.

Owner

willdurand commented Dec 28, 2012

No answer for a month, I'm closing this issue. Feel free to reopen your PR :)

willdurand closed this Dec 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment