# Datenbank-Tabelle erstellen lassen (Data Abstraction Layer)

**URL:** <https://forum.shopware.com/t/datenbank-tabelle-erstellen-lassen-data-abstraction-layer/58929>\
**Category:** Programmierung\
**Created:** [4. April 2019 um 14:46 UTC](https://forum.shopware.com/t/datenbank-tabelle-erstellen-lassen-data-abstraction-layer/58929 "2019-04-04T14:46:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreischild](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dreischild](https://forum.shopware.com/u/dreischild)\
**Post date:** [4. April 2019 um 14:46 UTC](https://forum.shopware.com/t/datenbank-tabelle-erstellen-lassen-data-abstraction-layer/58929/1 "2019-04-04T14:46:22Z")

</div>

Hallo zusammen,

ich habe eine Frage zu dem Data Abstraction Layer. Und zwar habe ich die Definition so erstellt, wie in dem folgenden Guide beschrieben:  
[https://docs.shopware.com/en/shopware-platform-en/data-abstract-layer/definition?category=shopware-platform-en/data-abstraction-layer](https://docs.shopware.com/en/shopware-platform-en/data-abstract-layer/definition?category=shopware-platform-en/data-abstraction-layer)

Also PHP Klasse + DI Eintrag.

Die Frage ist nun, wie ich die Datenbank Tabelle erstelle?! In dem PayPal Plugin wird diese über eine Migration erstellt. Ist das aber denn  
wirklich notwendig? Muss die Tabelle noch manuell per CREATE Statement erstellt werden? Es liegen ja eh alle Informationen in der Definition  
vor.

VG&nbsp;Dennis

---

<div class="post-metadata">

**Author:** ![dreischild](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dreischild](https://forum.shopware.com/u/dreischild)\
**Post date:** [4. April 2019 um 20:51 UTC](https://forum.shopware.com/t/datenbank-tabelle-erstellen-lassen-data-abstraction-layer/58929/2 "2019-04-04T20:51:40Z")

</div>

[@Oliver Skroblin]([http://forum.shopware.com/profile/1871/Oliver](http://forum.shopware.com/profile/1871/Oliver) Skroblin „Oliver Skroblin“)‍ Hättest du hier ggf. ein Tipp für mich?&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [5. April 2019 um 05:38 UTC](https://forum.shopware.com/t/datenbank-tabelle-erstellen-lassen-data-abstraction-layer/58929/3 "2019-04-05T05:38:45Z")

</div>

Hallo Dennis,

ja, grunsätzlich musst du die DB Tabellen selbst erstellen, eben über jene Migrationen. Einen DB Generator oder sowas gibt es nicht.&nbsp;

Viele Grüße aus Schöppingen

![cool](http://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/shopware.png "cool")&nbsp;Michael Telgmann
