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 43fb837 commit 7982039
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 2.1.0

Compatibility: requires minimum Kimai 2.0

- Rename migration config for compatibility with new plugin installer

## 2.0

Compatibility: requires minimum Kimai 2.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/lockdownperuser.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/LockdownPerUserBundle/Migrations/lockdownperuser.yaml
# bin/console doctrine:migrations:diff --em=default --configuration=var/plugins/LockdownPerUserBundle/Migrations/doctrine_migrations.yaml
#
# Execute all migrations with:
# bin/console kimai:bundle:kiosk:install
# bin/console doctrine:migrations:migrate --em=default --configuration=var/plugins/LockdownPerUserBundle/Migrations/lockdownperuser.yaml
# bin/console doctrine:migrations:migrate --em=default --configuration=var/plugins/LockdownPerUserBundle/Migrations/doctrine_migrations.yaml
# --------------------------------------------------------------------------------------------------
table_storage:
table_name: 'bundle_migration_lockdown'
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"description": "Allows to set the lockdown period per user.",
"homepage": "https://www.kimai.org/store/lockdown-per-user-bundle.html",
"type": "kimai-plugin",
"version": "2.0",
"version": "2.1.0",
"keywords": [
"kimai",
"kimai-plugin"
],
"license": "proprietary",
"license": "MIT",
"authors": [
{
"name": "Kevin Papst",
Expand Down

0 comments on commit 7982039

Please sign in to comment.