# Leeres doctrine-Model im Cache

**URL:** <https://forum.shopware.com/t/leeres-doctrine-model-im-cache/21894>\
**Category:** Shopware 3.5\
**Tags:** programming\
**Created:** [14. August 2014 um 15:37 UTC](https://forum.shopware.com/t/leeres-doctrine-model-im-cache/21894 "2014-08-14T15:37:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dirk\_designverign](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@dirk\_designverign](https://forum.shopware.com/u/dirk_designverign)\
**Post date:** [14. August 2014 um 15:37 UTC](https://forum.shopware.com/t/leeres-doctrine-model-im-cache/21894/1 "2014-08-14T15:37:52Z")

</div>

Hallo zusammen, immer wenn die Doctrine Attribute Models unter /cache/doctrine/attributes neu generiert werden, wird auch ein Model mit dem Namen „.php“ erstellt mit folgendem Inhalt: [code]\<?php /\*\*

- Shopware 4
- Copyright © shopware AG
- 
- According to our dual licensing model, this program can be used either
- under the terms of the GNU Affero General Public License, version 3,
- or under a proprietary license.
- 
- The texts of the GNU Affero General Public License with an additional
- permission and of our proprietary license can be found at and
- in the LICENSE file you have received along with this program.
- 
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
- 
- „Shopware“ is a registered trademark of shopware AG.
- The licensing of the program under the AGPLv3 does not imply a
- trademark license. Therefore any rights, title and interest in
- our trademarks remain entirely with us.  
\*/

namespace Shopware\Models\Attribute;  
use Shopware\Components\Model\ModelEntity,  
Doctrine\ORM\Mapping AS ORM,  
Symfony\Component\Validator\Constraints as Assert,  
Doctrine\Common\Collections\ArrayCollection;

/\*\*

- @ORM\Entity

- @ORM\Table(name=„bck\_s\_media\_attributes“)  
\*/  
class extends ModelEntity  
{

---

<div class="post-metadata">

**Author:** ![dirk\_designverign](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@dirk\_designverign](https://forum.shopware.com/u/dirk_designverign)\
**Post date:** [14. August 2014 um 15:47 UTC](https://forum.shopware.com/t/leeres-doctrine-model-im-cache/21894/2 "2014-08-14T15:47:21Z")

</div>

Beim durchlesen meines Posts habe ich den Tabellennamen gefunden und daraufhin mal alle bck-Tabellen gelöscht, damit wird auch die .php Datei nicht mehr generiert. Ich glaube die bck-Tabellen gehören zum Staging-System!?
