Browse Source

add color column in select query

pull/3/head
wahyuun 1 year ago
parent
commit
6996f1fff3
  1. 3
      app/Http/Controllers/DivisiController.php

3
app/Http/Controllers/DivisiController.php

@ -21,7 +21,8 @@ class DivisiController extends Controller
$this->validate($request, [
'name' => 'string|required|unique:m_divisi,name',
'description' => 'nullable|string',
'parent' => 'nullable|integer'
'parent' => 'nullable|integer',
'color'=>'nullable|string|max:10'
]);
$data = $request->all();

Loading…
Cancel
Save