Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doctrine:schema:validate wants to change diff column type to JSON instead jsonb after updating to damienharper/auditor:3.3.3 #239

Open
dmitryuk opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@dmitryuk
Copy link
Contributor

Q A
auditor version 3.3.3
PHP version 7.4.2
Database PostgreSQL
DBAL 4

Summary

After updating from damienharper/auditor:3.3.2 to 3.3.3 and damienharper/auditor-bundle:6.2.0 to 6.2.1 command doctrine:schema:validate started to warn that I need to update schema:

 [ERROR] The database schema is not in sync with the current mapping file.                                              
                                                                                                                        

 // N schema diff(s) detected:                                                                                          

     ALTER TABLE audit_%table% ALTER diffs TYPE JSON;

Expected behavior

Current column type is JSONB, why it wants to change it to JSON?

@dmitryuk dmitryuk added the bug Something isn't working label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant