Rapsys\BlogBundle\Entity\KeywordTranslation: type: entity repositoryClass: Rapsys\BlogBundle\Repository\KeywordTranslationRepository table: keywords_translations id: keyword_id: type: integer options: unsigned: true locale: type: string length: 5 fields: description: type: text nullable: true slug: type: string length: 128 nullable: true title: type: string length: 128 nullable: true created: type: datetime updated: type: datetime manyToOne: keyword: targetEntity: Rapsys\BlogBundle\Entity\Keyword inversedBy: keyword_translations joinColumn: nullable: false uniqueConstraints: locale_slug: columns: [ locale, slug ] lifecycleCallbacks: preUpdate: ['preUpdate']