Skip to content

Commit

Permalink
rename migration config for compatibility with new plugin installer
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Oct 23, 2024
1 parent 33ab030 commit 358d248
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion Command/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ protected function getBundleCommandNamePart(): string

protected function getMigrationConfigFilename(): ?string
{
return __DIR__ . '/../Migrations/demo.yaml';
return __DIR__ . '/../Migrations/doctrine_migrations.yaml';
}
}
4 changes: 2 additions & 2 deletions Migrations/demo.yaml → Migrations/doctrine_migrations.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 358d248

Please sign in to comment.