{"action":"opened","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/5082","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/5082/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/5082/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/5082/events","html_url":"https://github.com/sequelize/sequelize/issues/5082","id":123255662,"number":5082,"title":"json array error","user":{"login":"struCoder","id":6498477,"avatar_url":"https://avatars.githubusercontent.com/u/6498477?v=3","gravatar_id":"","url":"https://api.github.com/users/struCoder","html_url":"https://github.com/struCoder","followers_url":"https://api.github.com/users/struCoder/followers","following_url":"https://api.github.com/users/struCoder/following{/other_user}","gists_url":"https://api.github.com/users/struCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/struCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/struCoder/subscriptions","organizations_url":"https://api.github.com/users/struCoder/orgs","repos_url":"https://api.github.com/users/struCoder/repos","events_url":"https://api.github.com/users/struCoder/events{/privacy}","received_events_url":"https://api.github.com/users/struCoder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-21T11:00:07Z","updated_at":"2015-12-21T11:00:07Z","closed_at":null,"body":"Hi there:\r\n\r\nIn postgres i have a column and the type is json[]\r\n \r\n#### this is my migration(postgres)\r\n```javascript\r\n...\r\nnode_info: {\r\n  type: Sequelize.ARRAY(Sequelize.JSON)\r\n},\r\ntoken: {\r\n   type: Sequelize.STRING(28)\r\n}\r\n\r\n...\r\n```\r\n\r\n\r\n\r\n#### and my function\r\n```javascript\r\n\r\nfunction demo(name, uuid, status) {\r\n  const nodeInfo = {\r\n    node_info:\r\n      [\r\n        JSON.stringify({\r\n          uuid: uuid,\r\n          status: status || 1\r\n        })\r\n      ]\r\n  }\r\n\r\n  const updateWhereQuery = {\r\n    where: {\r\n      name: name\r\n    },\r\n    raw: true\r\n  }\r\n  return db.Config.update(nodeInfo, updateWhereQuery);\r\n}\r\n\r\n```\r\n\r\n#### but i got this error:\r\n```\r\nUnhandled rejection SequelizeDatabaseError: column \"node_info\" is of type json[] but expression is of type text[]\r\n```\r\n\r\n####sequelize version\r\n```\r\n\"pg-hstore\": \"^2.3.2\",\r\n\"sequelize\": \"^3.14.2\",\r\n```\r\n\r\ncan you help me?"}}