Hi,

while doing the mirgration to the new doctrine plugin, I also noticed,
that the i18n table creation via pake task does not work anymore:

The old yml syntax to create an i18n Table was like this:

Countries:
  tableName: country
  i18n:
    class: CountriesI18n
    cultureField: culture
  columns:
    country_code:
      type: string
      length: 2

CountriesI18n:
  tableName: country_i18n
  columns:
    name:
      type: string
      length: 255

With the new version, doctrine does not recognize the i18n relation
anymore and treats the i18n table as if it was a normal table (does
not create a culture filed, uses "ID"-field with auto increment and no
foreign key relation)

When digging the doctrine documentation I found that Doctrine natively
supports i18n tables by using "actAs". Could I model this manually and
if so, how to make it work ? Or is this just a bug?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to