Database
Plugins can extend or interact with the Shopware database using migrations, entities, and custom fields.
This section covers:
- How to create and manage database migrations
- How to generate migrations from entity definitions
- How to work with custom fields (e.g., media custom fields)
Use migrations for schema changes and structural updates. Use custom fields to extend existing entities without modifying the core schema.