what about removing the type and size attribute of the skill_id field? does this works?
On 9 Aug., 13:06, scube <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using the admin generator and want a relation displayed as name > and not id. > > This schema does work: > User: > tableName: user > columns: > name: > > Post: > tableName: post > columns: > text: > user_id: > foreignClass: User > foreignName: Author > localName: Articles > > This schema doesn't work, why? > Skill: > tableName: skill > columns: > titel: string(100) > created_at: timestamp > updated_at: timestamp > > SkillTypes: > tableName: skill_types > columns: > count: integer > beschreibung: string(4000) > created_at: timestamp > updated_at: timestamp > skill_id: > foreignClass: Skill > foreignName: SkillRef > localName: SkillTypesToSkill > type: integer > size: 20 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
