From: Raphaƫl Gertz Date: Fri, 10 Nov 2023 12:23:26 +0000 (+0100) Subject: Remove unused doctrine orm config X-Git-Tag: 0.1~11 X-Git-Url: https://git.rapsys.eu/blogbundle/commitdiff_plain/de17e5025dc6a9494454618115f56a97572c7f72 Remove unused doctrine orm config --- diff --git a/Resources/config/doctrine/ArticleKeyword.orm.yml b/Resources/config/doctrine/ArticleKeyword.orm.yml deleted file mode 100644 index 5a396c4..0000000 --- a/Resources/config/doctrine/ArticleKeyword.orm.yml +++ /dev/null @@ -1,12 +0,0 @@ -Rapsys\BlogBundle\Entity\ArticleKeyword: - type: entity - table: articles_keywords - id: - article_id: - type: integer - options: - unsigned: true - keyword_id: - type: integer - options: - unsigned: true diff --git a/Resources/config/doctrine/Author.orm.yml b/Resources/config/doctrine/Author.orm.yml deleted file mode 100644 index 176fe32..0000000 --- a/Resources/config/doctrine/Author.orm.yml +++ /dev/null @@ -1,33 +0,0 @@ -Rapsys\BlogBundle\Entity\Author: - type: entity - repositoryClass: Rapsys\BlogBundle\Repository\AuthorRepository - table: authors - indexes: - name: - columns: [ name ] - id: - id: - type: smallint - generator: - strategy: AUTO - options: - unsigned: true - fields: - name: - type: string - length: 64 - slug: - type: string - length: 64 - unique: true - created: - type: datetime - updated: - type: datetime - oneToMany: - articles: - targetEntity: Rapsys\BlogBundle\Entity\Article - mappedBy: author - author_translations: - targetEntity: Rapsys\BlogBundle\Entity\AuthorTranslation - mappedBy: author diff --git a/Resources/config/doctrine/AuthorTranslation.orm.yml b/Resources/config/doctrine/AuthorTranslation.orm.yml deleted file mode 100644 index b7be2e3..0000000 --- a/Resources/config/doctrine/AuthorTranslation.orm.yml +++ /dev/null @@ -1,27 +0,0 @@ -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 diff --git a/Resources/config/doctrine/Language.orm.yml b/Resources/config/doctrine/Language.orm.yml deleted file mode 100644 index 9099e65..0000000 --- a/Resources/config/doctrine/Language.orm.yml +++ /dev/null @@ -1,43 +0,0 @@ -Rapsys\BlogBundle\Entity\Language: - type: entity - repositoryClass: Rapsys\BlogBundle\Repository\LanguageRepository - table: languages - indexes: - iso6391: - columns: [ iso6391 ] - iso6393: - columns: [ iso6393 ] - id: - id: - type: smallint - generator: - strategy: AUTO - options: - unsigned: true - fields: - iso6391: - type: string - length: 2 - iso6393: - type: string - length: 3 - created: - type: datetime - updated: - type: datetime - oneToMany: - article_translations: - targetEntity: Rapsys\BlogBundle\Entity\ArticleTranslation - mappedBy: language - keyword_translations: - targetEntity: Rapsys\BlogBundle\Entity\KeywordTranslation - mappedBy: language - site_translations: - targetEntity: Rapsys\BlogBundle\Entity\SiteTranslation - mappedBy: language - language_translations: - targetEntity: Rapsys\BlogBundle\Entity\LanguageTranslation - mappedBy: language - target_translations: - targetEntity: Rapsys\BlogBundle\Entity\LanguageTranslation - mappedBy: target diff --git a/Resources/config/doctrine/LanguageTranslation.orm.yml b/Resources/config/doctrine/LanguageTranslation.orm.yml deleted file mode 100644 index 572e553..0000000 --- a/Resources/config/doctrine/LanguageTranslation.orm.yml +++ /dev/null @@ -1,28 +0,0 @@ -Rapsys\BlogBundle\Entity\LanguageTranslation: - type: entity - repositoryClass: Rapsys\BlogBundle\Repository\LanguageTranslationRepository - table: languages_translations - id: - language_id: - type: smallint - options: - unsigned: true - target_id: - type: smallint - options: - unsigned: true - fields: - title: - type: string - length: 128 - created: - type: datetime - updated: - type: datetime - manyToOne: - language: - targetEntity: Rapsys\BlogBundle\Entity\Language - inversedBy: language_translations - target: - targetEntity: Rapsys\BlogBundle\Entity\Language - inversedBy: target_translations diff --git a/Resources/config/doctrine/Site.orm.yml b/Resources/config/doctrine/Site.orm.yml deleted file mode 100644 index 4719624..0000000 --- a/Resources/config/doctrine/Site.orm.yml +++ /dev/null @@ -1,29 +0,0 @@ -Rapsys\BlogBundle\Entity\Site: - type: entity - repositoryClass: Rapsys\BlogBundle\Repository\SiteRepository - table: sites - indexes: - domain: - columns: [ domain ] - id: - id: - type: smallint - generator: - strategy: AUTO - options: - unsigned: true - fields: - domain: - type: string - length: 64 - created: - type: datetime - updated: - type: datetime - oneToMany: - articles: - targetEntity: Rapsys\BlogBundle\Entity\Article - mappedBy: site - site_translations: - targetEntity: Rapsys\BlogBundle\Entity\SiteTranslation - mappedBy: site diff --git a/Resources/config/doctrine/SiteTranslation.orm.yml b/Resources/config/doctrine/SiteTranslation.orm.yml deleted file mode 100644 index 2821393..0000000 --- a/Resources/config/doctrine/SiteTranslation.orm.yml +++ /dev/null @@ -1,30 +0,0 @@ -Rapsys\BlogBundle\Entity\SiteTranslation: - type: entity - repositoryClass: Rapsys\BlogBundle\Repository\SiteTranslationRepository - table: sites_translations - id: - site_id: - type: smallint - options: - unsigned: true - language_id: - type: smallint - options: - unsigned: true - fields: - title: - type: string - length: 128 - description: - type: text - created: - type: datetime - updated: - type: datetime - manyToOne: - site: - targetEntity: Rapsys\BlogBundle\Entity\Site - inversedBy: site_translations - language: - targetEntity: Rapsys\BlogBundle\Entity\Language - inversedBy: site_translations