How to convert json to old ruby hash object and migration [closed]

You can simply use

Model.create(JSON.parse(json_string))