hanami-shrine icon indicating copy to clipboard operation
hanami-shrine copied to clipboard

Convert JSON(B) column value to hash after reading from repository

Open smaximov opened this issue 7 years ago • 0 comments

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.

smaximov avatar Dec 26 '17 09:12 smaximov