viosys / vio-db-migration-sw6
Shopware plugin to apply project-specific DB-Updates
Installs: 439
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Type:shopware-platform-plugin
Requires
- shopware/core: >=6.4.6
README
Usage:
add
VIOSYS_MIGRATION_NAMESPACE='VioDbMigration'
VIOSYS_MIGRATION_DIRECTORY='vio_sql/migrations'
to .env-file
install plugin:
bin/console plugin:install --activate VioDBMigration
create an migration under the configured directory:
bin/console database:create-migration vio_sql/migrations/ VioDbMigration
run migrations with:
bin/console database:migrate --all VioDbMigration