vitaliiivanovspryker / incremental-migration
Incremental Migration module
v1.0.0
2024-08-23 11:55 UTC
Requires
- php: >=8.1
- spryker/kernel: ^3.30.0
- spryker/symfony: ^3.0.0
Requires (Dev)
README
Installer is responsible for managing the installment process of required database data.
Installation
composer require vitaliiivanovspryker/incremental-migration
console propel:install
\Pyz\Zed\Console\ConsoleDependencyProvider::getConsoleCommands
new GenerateIncrementalMigrationConsole(), new MigrateIncrementalMigrationConsole(),
Documentation
Usage
console incremental-migration:generate FooMigration src/Pyz/Zed/Foo/Communication/Plugin/Migration
namespace Pyz\Zed\IncrementalMigration; use Spryker\Zed\IncrementalMigration\IncrementalMigrationDependencyProvider as SprykerIncrementalMigrationDependencyProvider; class IncrementalMigrationDependencyProvider extends SprykerIncrementalMigrationDependencyProvider { /** * @return array<\Spryker\Zed\IncrementalMigration\Dependency\IncrementalMigrationPluginInterface> */ protected function getIncrementalDataMigrations(): array { return [ // new GeneratedIncrementalMigration(), ]; } }
console incremental-migration:migrate