Hey Guys,
i have the following schema.yml and i want to get the zodiac sign ID as a
selectbox with the zodiac signs in the users language. But i only get the
primary keys in the Selectbox. Could anyone give me a hint what to do.
Thanks in advance for any help. ;)
Girl:
actAs:
I18n:
fields: [name]
columns:
name: { type: string(50), notnull: true }
GirlDetail:
actAs:
I18n:
fields: [custom_zodiac_sign]
columns:
girl_id: { type: integer, notnull: true }
zodiac_sign_id: { type: integer }
custom_zodiac_sign: { type: string(100) }
relations:
GirlZodiacSign: { onDelete: CASCADE, local: zodiac_sign_id,
foreign: id, foreignAlias: GirlZodiacSigns }
GirlZodiacSign:
actAs:
I18n:
fields: [zodiac_sign]
columns:
zodiac_sign: { type: string(100), notnull: true, unique:
true }
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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