Skip to content

Commit

Permalink
Multiple schemas support
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Nov 26, 2022
1 parent f5c3fa3 commit 616eb13
Show file tree
Hide file tree
Showing 4 changed files with 1,406 additions and 1,622 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"require": {
"php": ">=7.4",
"ext-json": "*",
"damienharper/auditor": "^2.0",
"damienharper/auditor": "^2.3",
"doctrine/annotations": "^1.8",
"doctrine/doctrine-bundle": "^1.9|^2.0",
"doctrine/orm": "^2.7",
Expand Down
8 changes: 7 additions & 1 deletion src/Resources/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ services:
tags:
- { name: doctrine.event_subscriber }

DH\Auditor\Provider\Doctrine\Persistence\Event\TableSchemaSubscriber:
class: DH\Auditor\Provider\Doctrine\Persistence\Event\TableSchemaSubscriber
arguments: ['@DH\Auditor\Provider\Doctrine\DoctrineProvider']
tags:
- { name: doctrine.event_subscriber }

DH\Auditor\Provider\Doctrine\Persistence\Command\CleanAuditLogsCommand:
class: DH\Auditor\Provider\Doctrine\Persistence\Command\CleanAuditLogsCommand
tags:
Expand Down Expand Up @@ -92,4 +98,4 @@ services:
DH\AuditorBundle\Event\ConsoleEventSubscriber:
arguments: ['@DH\AuditorBundle\User\ConsoleUserProvider', '@DH\Auditor\Configuration', '@dh_auditor.user_provider']
tags:
- { name: kernel.event_subscriber }
- { name: kernel.event_subscriber }

0 comments on commit 616eb13

Please sign in to comment.