problem with Doctrine i18n in Symfony

Posted by fayer on Stack Overflow See other posts from Stack Overflow or by fayer
Published on 2010-06-03T01:40:39Z Indexed on 2010/06/03 1:44 UTC
Read the original article Hit count: 223

Filed under:
|

i have table data i want to internationalize.

i added this code in my schema.yml:

I18n:
  fields: [name]

and another table with a suffix "_translation" was created.

the problem is that this table's id column is not auto-incremented.

so when adding fixture data there will be a problem.

i wonder if there is a way to make this column auto-incremented, or else i have to manually correct this for a lot of tables everytime i want to add fixture data.

thanks.

© Stack Overflow or respective owner

Related posts about symfony

Related posts about doctrine