Skip to content

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

@dmitryuk

Description

@dmitryuk
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions