X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/blogbundle/blobdiff_plain/7ab0c56bbb9c228d9b6b24cdee90c1fa73570a6a..97215da101c2bd6c0ba7fc0beb45a2bb045220dd:/Resources/config/doctrine/AuthorTranslation.orm.yml diff --git a/Resources/config/doctrine/AuthorTranslation.orm.yml b/Resources/config/doctrine/AuthorTranslation.orm.yml new file mode 100644 index 0000000..b7be2e3 --- /dev/null +++ b/Resources/config/doctrine/AuthorTranslation.orm.yml @@ -0,0 +1,27 @@ +Rapsys\BlogBundle\Entity\AuthorTranslation: + type: entity + repositoryClass: Rapsys\BlogBundle\Repository\AuthorTranslationRepository + table: authors_translations + id: + author_id: + type: smallint + options: + unsigned: true + language_id: + type: smallint + options: + unsigned: true + fields: + description: + type: text + created: + type: datetime + updated: + type: datetime + manyToOne: + author: + targetEntity: Rapsys\BlogBundle\Entity\Author + inversedBy: author_translations + language: + targetEntity: Rapsys\BlogBundle\Entity\Language + inversedBy: language_translations