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 6105230 commit 0e14a25
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Version 4.2.0

Compatibility: requires minimum Kimai 2.21.0

- Rename migration config for compatibility with new plugin installer

## Version 4.1.1

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

protected function getMigrationConfigFilename(): ?string
{
return __DIR__ . '/../Migrations/customer-portal.yaml';
return __DIR__ . '/../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/CustomerPortalBundle/Migrations/customer-portal.yaml
# bin/console doctrine:migrations:diff --em=default --configuration=var/plugins/CustomerPortalBundle/Migrations/doctrine_migrations.yaml
#
# Execute all migrations with:
# bin/console kimai:bundle:shared-project-timesheets:install
# bin/console doctrine:migrations:migrate --em=default --configuration=var/plugins/CustomerPortalBundle/Migrations/customer-portal.yaml
# bin/console doctrine:migrations:migrate --em=default --configuration=var/plugins/CustomerPortalBundle/Migrations/doctrine_migrations.yaml
# --------------------------------------------------------------------------------------------------

table_storage:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Share timesheets and statistics via URLs",
"homepage": "https://www.kimai.org/store/customer-portal.html",
"type": "kimai-plugin",
"version": "4.1.1",
"version": "4.2.0",
"keywords": [
"kimai",
"kimai-plugin"
Expand Down

0 comments on commit 0e14a25

Please sign in to comment.