diff --git a/CHANGELOG.md b/CHANGELOG.md index c6e165c..c231ad6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ -## Version 2.6.0 (unreleased) +## Version 2.6.0 Compatibility: requires minimum Kimai 2.15.0 -- Use "main" menu instead of "Apps" menu +- Rename migration config for compatibility with new plugin installer +- Use "Main" menu instead of "Apps" menu ## Version 2.5.0 diff --git a/Command/InstallCommand.php b/Command/InstallCommand.php index 0562356..5611b15 100644 --- a/Command/InstallCommand.php +++ b/Command/InstallCommand.php @@ -21,6 +21,6 @@ protected function getBundleCommandNamePart(): string protected function getMigrationConfigFilename(): ?string { - return __DIR__ . '/../Migrations/demo.yaml'; + return __DIR__ . '/../Migrations/doctrine_migrations.yaml'; } } diff --git a/Migrations/demo.yaml b/Migrations/doctrine_migrations.yaml similarity index 82% rename from Migrations/demo.yaml rename to Migrations/doctrine_migrations.yaml index e7d2f4c..d1fed35 100644 --- a/Migrations/demo.yaml +++ b/Migrations/doctrine_migrations.yaml @@ -1,10 +1,10 @@ # -------------------------------------------------------------------------------------------------- # Generate a new migration with: -# bin/console doctrine:migrations:diff --em=default --configuration=var/plugins/DemoBundle/Migrations/demo.yaml +# bin/console doctrine:migrations:diff --em=default --configuration=var/plugins/DemoBundle/Migrations/doctrine_migrations.yaml # # Execute all migrations with: # bin/console kimai:bundle:tasks:install -# bin/console doctrine:migrations:migrate --em=default --configuration=var/plugins/DemoBundle/Migrations/demo.yaml +# bin/console doctrine:migrations:migrate --em=default --configuration=var/plugins/DemoBundle/Migrations/doctrine_migrations.yaml # -------------------------------------------------------------------------------------------------- table_storage: