@ -10,7 +10,6 @@ class VersionGanttController extends Controller
public function add(Request $request){
$this->validate($request, [
'name_version' => 'required',
'description' => 'required',
'proyek_id' => 'required'
]);
$data = $request->all();
@ -17,6 +17,8 @@ class VersionGantt extends Model
'date_base_line',
'proyek_id',
'config_dayoff',
'auto_schedule',
'calculation_type',
'created_at',
'created_by',
'updated_at',