Skip to content

Commit

Permalink
Merge pull request #2323 from tvdeyen/remove-json-decoder
Browse files Browse the repository at this point in the history
Remove JSON decode from ingredient data store
  • Loading branch information
tvdeyen committed Apr 27, 2022
1 parent f724140 commit 67bda72
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/models/alchemy/ingredient.rb
Expand Up @@ -6,10 +6,6 @@ class DefinitionError < StandardError; end

include Hints

# MariaDB needs to be told explicitly to use `data` as a JSON store. All other databases
# can do this natively.
store :data, coder: JSON

self.table_name = "alchemy_ingredients"

belongs_to :element, touch: true, class_name: "Alchemy::Element", inverse_of: :ingredients
Expand Down

0 comments on commit 67bda72

Please sign in to comment.