lib/mobility/backends/json.rb in mobility-0.5.1 vs lib/mobility/backends/json.rb in mobility-0.6.0
- old
+ new
@@ -4,10 +4,12 @@
Stores translations as hash on Postgres json column.
==Backend Options
-This backend has no options.
+===+column_prefix+ and +column_suffix+
+
+Prefix and suffix to add to attribute name to generate json column name.
@see Mobility::Backends::ActiveRecord::Json
@see Mobility::Backends::Sequel::Json
@see https://www.postgresql.org/docs/current/static/datatype-json.html PostgreSQL Documentation for JSON Types