paper-trail-gem / paper_trail

Track changes to your rails models
MIT License
6.76k stars 895 forks source link

Install migrations --with-changes use text column but PaperTrail errors with expecting JSON or JSONB #1452

Closed contentfree closed 5 months ago

contentfree commented 8 months ago

Just trying to get PaperTrail working for the first time. The migration generates a text column for --with-changes. But PaperTrail then errors with "where_object_changes expected json or jsonb column, got text".

This is just with defaults out of the box.

Are the migrations incorrectly generated?

github-actions[bot] commented 5 months ago

This issue has been automatically marked as stale due to inactivity. The resources of our volunteers are limited. Bug reports must provide a script that reproduces the bug, using our template. Feature suggestions must include a promise to build the feature yourself. Thank you for all your contributions.