Change column :pic_path to :image_encoding and type from :string to :text