propelorm/Propel2 — pull request #735 by oujesky (2014-09-14 17:08:19+00:00)
Title: i18n behavior - allow custom primary key name on i18n table

As default, the i18n behaviour mirrors the primary key of base table to i18n table. Changes in this PR allows to specify the name of created PK column in 18n table in schema through ``.

Use case - I am creating propel schema based on existing database structure, where stored localized texts suggests the use of i18n behavior. The structure can't be modified, because of legacy applications using it.

The simplified schema may looks following:

```xml

```

However without changes from this PR, the i18n table will get another column called `id` which will in turn become part of the primary key of this table.

I will be happy to prepare documentation for the new parameter, if this PR is going to be accepted eventually.