create new column for database and improve the controller
This commit is contained in:
@@ -22,6 +22,9 @@ class UpdateRequest extends FormRequest
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'province_id' => 'required|exists:provinces,id',
|
||||
'city_id' => 'required|exists:cities,id',
|
||||
'name' => 'required|string|max:255',
|
||||
'status' => 'integer|in:0,1',
|
||||
'type' => 'integer|in:1,2,3',
|
||||
'team_num' => 'numeric',
|
||||
|
||||
Reference in New Issue
Block a user