What's wrong here save Null column image in table but other value is okay only image value is saving Null why??
public function store(Request $request)[enter image description here][1]
{
$govOffice = new GovOffice;
$govOffice->type=Input::get('type');
$govOffice->contact=Input::get('contact');
$govOffice->details=Input::get('details');
$govOffice->url=Input::get('url');
if (Input::hasFile('image'))
{
$file = Input::file('image');
$file->move(public_path(). '/', $file->getClientOriginalName());
$govOffice->image = $file->getClientOriginalName();
}
$govOffice->save();
return 'save';
}