hanami-shrine
hanami-shrine copied to clipboard
Convert JSON(B) column value to hash after reading from repository
This PR enables users to use a Postgres' JSON(B) column to store attachment data, similar to how it is done in the sequel and activerecord plugins. I didn't add tests because it would require either completely switching to Postgres as the database for running tests or setting up Postgres separately for Postgres-related tests.