FriendsOfShopware / FroshDevelopmentHelper

Helpful development tools
79 stars 15 forks source link

Generate Code for Adding a Custom Field in a Plugin #40

Closed amenk closed 2 years ago

amenk commented 2 years ago

Currently we mostly create custom fields via admin panel. But to properly deploy a custom module, the field(s) should be created in code.

It would be nice if the frosh development helper could support creating such custom fields, like described in

https://developer.shopware.com/docs/guides/plugins/plugins/framework/custom-field/add-custom-field#add-column-in-database-table

shyim commented 2 years ago

I would like to see this more in the JetBrains plugin, as the dev don't need to modify Shopware https://github.com/shopwareLabs/shopware6-phpstorm-plugin/issues/56

amenk commented 2 years ago

Totally agree