title: Rails 4 - postgresql 9.4 jsonb does not exist
body: <p>I have used rails 4 and postgresql 9.4 in my project.when i was run "rdd &amp;&amp; rdc &amp;&amp; rdm &amp;&amp; rds" and i got this error <strong>PG::UndefinedObject: ERROR:  type "jsonb" does not exist</strong> how do solve this error? tell me.</p>
  
  <p>My migrate file:</p>
  
  <pre><code>class CreateConsultingLocationDoctorSchedules &lt; ActiveRecord::Migration
     def change
        create_table :consulting_location_doctor_schedules do |t|
             t.belongs_to :consulting_location_doctor
             t.datetime :schedule_date, null: false
             t.jsonb :slot_details, index: true, default: {}
             t.daterange :start_and_end_time, null: false
             t.datetime :deleted_at
             t.belongs_to :deleted_by
  
             t.timestamps
        end
     end
  end
  </code></pre>
  
  <p>Thanks for ur help!</p>