bug fixes category Request file
This commit is contained in:
parent
c7a550939c
commit
3dc351c0ff
|
|
@ -26,8 +26,10 @@ class CategoryRequest extends FormRequest
|
|||
public function rules()
|
||||
{
|
||||
return [
|
||||
// 'title_tk' => 'required|min:5|max:255',
|
||||
// 'title_ru' => 'required|min:5|max:255'
|
||||
'title_tk' => 'required|min:5|max:255',
|
||||
'title_ru' => 'required|min:5|max:255',
|
||||
'view_type' =>'required',
|
||||
'events_limit' =>'required|numeric'
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ class CreateUsersTable extends Migration
|
|||
Schema::create('users', function ($t) {
|
||||
|
||||
$t->increments('id');
|
||||
$t->unsignedInteger('account_id')->index()->default(0);
|
||||
$t->unsignedInteger('account_id')->index()->default(0)->nullable();
|
||||
$t->nullableTimestamps();
|
||||
$t->softDeletes();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue