{"action":"opened","issue":{"url":"https://api.github.com/repos/madzhuga/rails_workflow/issues/3","labels_url":"https://api.github.com/repos/madzhuga/rails_workflow/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/madzhuga/rails_workflow/issues/3/comments","events_url":"https://api.github.com/repos/madzhuga/rails_workflow/issues/3/events","html_url":"https://github.com/madzhuga/rails_workflow/issues/3","id":67061545,"number":3,"title":"Issue in rake db:migrate","user":{"login":"shubhamitc","id":11421637,"avatar_url":"https://avatars.githubusercontent.com/u/11421637?v=3","gravatar_id":"","url":"https://api.github.com/users/shubhamitc","html_url":"https://github.com/shubhamitc","followers_url":"https://api.github.com/users/shubhamitc/followers","following_url":"https://api.github.com/users/shubhamitc/following{/other_user}","gists_url":"https://api.github.com/users/shubhamitc/gists{/gist_id}","starred_url":"https://api.github.com/users/shubhamitc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubhamitc/subscriptions","organizations_url":"https://api.github.com/users/shubhamitc/orgs","repos_url":"https://api.github.com/users/shubhamitc/repos","events_url":"https://api.github.com/users/shubhamitc/events{/privacy}","received_events_url":"https://api.github.com/users/shubhamitc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-08T06:41:05Z","updated_at":"2015-04-08T06:41:05Z","closed_at":null,"body":"Issue with Json type column with PostgreSQL,\r\n\r\nStacktrace.......\r\n\r\nsingh@singh-Latitude-E5450:~/project/jen_etl/db/migrate$ bundle exec rake db:migrate --trace\r\n(in /home/singh/project/jen_etl)\r\n** Invoke db:migrate (first_time)\r\n** Invoke environment (first_time)\r\n** Execute environment\r\n** Invoke db:load_config (first_time)\r\n** Execute db:load_config\r\n** Execute db:migrate\r\n== 20150123172243 CreateWorkflowWfProcesses: migrating ========================\r\n-- create_table(:workflow_processes)\r\n   -> 0.0008s\r\n-- create_table(:workflow_operations)\r\n   -> 0.0005s\r\n-- create_table(:workflow_process_templates)\r\n   -> 0.0005s\r\n-- create_table(:workflow_operation_templates)\r\n   -> 0.0005s\r\n-- add_column(:workflow_processes, :template_id, :integer)\r\n   -> 0.0003s\r\n-- add_column(:workflow_processes, :type, :string)\r\n   -> 0.0002s\r\n-- add_column(:workflow_operations, :process_id, :integer)\r\n   -> 0.0003s\r\n-- add_column(:workflow_operations, :template_id, :integer)\r\n   -> 0.0002s\r\n-- add_column(:workflow_operation_templates, :async, :boolean)\r\n   -> 0.0003s\r\n-- add_column(:workflow_operations, :dependencies, :text)\r\n   -> 0.0002s\r\n-- add_column(:workflow_operation_templates, :child_process_id, :integer)\r\n   -> 0.0003s\r\n-- add_column(:workflow_operations, :child_process_id, :integer)\r\n   -> 0.0002s\r\n-- add_column(:workflow_operation_templates, :assignment_id, :integer)\r\n   -> 0.0002s\r\n-- add_column(:workflow_operation_templates, :assignment_type, :string)\r\n   -> 0.0002s\r\n-- add_column(:workflow_operations, :assignment_id, :integer)\r\n   -> 0.0002s\r\n-- add_column(:workflow_operations, :assignment_type, :string)\r\n   -> 0.0003s\r\n-- add_column(:workflow_operations, :assigned_at, :datetime)\r\n   -> 0.0002s\r\n-- add_column(:workflow_operation_templates, :kind, :string)\r\n   -> 0.0002s\r\n-- add_column(:workflow_operation_templates, :role, :string)\r\n   -> 0.0002s\r\n-- add_column(:workflow_operation_templates, :group, :string)\r\n   -> 0.0002s\r\n-- add_column(:workflow_operations, :type, :string)\r\n   -> 0.0002s\r\n-- add_column(:workflow_operations, :is_active, :boolean)\r\n   -> 0.0002s\r\n-- add_column(:workflow_operation_templates, :instruction, :text)\r\n   -> 0.0002s\r\n-- create_table(:workflow_contexts)\r\nrake aborted!\r\nStandardError: An error has occurred, this and all later migrations canceled:\r\n\r\nundefined method `json' for #<ActiveRecord::ConnectionAdapters::TableDefinition:0x000000054940a8>/var/lib/gems/1.9.1/gems/rails_workflow-0.2.2/db/migrate/20150123172243_create_workflow_wf_processes.rb:66:in `block in change'\r\n/var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:202:in `create_table'\r\n/var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:662:in `block in method_missing'\r\n/var/lib/gems/1.9.1/gems/activerecord-4.2.1/lib/active_record/migration.rb:632:in `block in say_with_time'\r\n/usr/lib/ruby/1.9.1/benchmark.rb:280:in `measure'\r\n "}}