[DBAL-553] PostgreSQL JSON Type Created: 03/Jul/13 Updated: 18/Jul/13
|Reporter:||Martin Prebio||Assignee:||Benjamin Eberlei|
Since version 9.2 PostgreSQL has a new data type for JSON fields: http://www.postgresql.org/docs/9.2/static/datatype-json.html
The current json_array datatype works on this field if it was not created by Doctrine but manually but it would be nice to support the field type also for schema generation.
I can offer a Pull Request for this change but I have not found a method for determining the database version.
|Comment by Daniel Londero [ 18/Jul/13 ]|
It would be great to have JSON datatype! In the mean time the solution is creating a "Custom Mapping Type", right?