# Plugin zusätzliche Textfelder hinzufügen

**URL:** https://forum.shopware.com/t/plugin-zusatzliche-textfelder-hinzufugen/44322
**Category:** Programmierung
**Created:** [8. März 2017 um 15:34 UTC](https://forum.shopware.com/t/plugin-zusatzliche-textfelder-hinzufugen/44322 "2017-03-08T15:34:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)
#### Post date: [8. März 2017 um 15:34 UTC](https://forum.shopware.com/t/plugin-zusatzliche-textfelder-hinzufugen/44322/1 "2017-03-08T15:34:50Z")

</div>

Hallo, ich habe eine Frage zum alten hinzufügen von Freitextfeldern im Artikel bei SW kleiner &nbsp;5.2 . Wieviel Werte müssen hier hinterlegt werden? Ich gehe von 6 Feldern aus, wie unten aufgelistet. Dürfen hier Felder fehlen? Es geht mir um das Fehlen des letzten Eintrages “default” Wert. Der fehlt in einem Plugin, Hersteller sagt ist nicht schlimm, jedoch wird die Datenbankspalte nicht angelegt.

```
 * @param string $table Full table name. Example: "s_user_attributes"
 * @param string $prefix Column prefix. The prefix and column parameter will be the column name. Example: "swag".
 * @param string $column The column name
 * @param string $type Full type declaration. Example: "VARCHAR( 5 )" / "DECIMAL( 10, 2 )"
 * @param bool $nullable Allow null property
 * @param null $default Default value of the column

```

Shopware()-\>Models()-\>addAttribute()
