I have a rails project with Postgresql 9.4 as backend. I have column like this:
t.json :slot_details, null: false, default: {}
How do I ch
Here is it how it worked with Rails 4.2
t.jsonb :slot_details, index: true, default: {}
The answer above threw errors for me.