bug fixes category Request file

This commit is contained in:
merdiano 2019-10-04 19:48:15 +05:00
parent c7a550939c
commit 3dc351c0ff
2 changed files with 5 additions and 3 deletions

View File

@ -26,8 +26,10 @@ class CategoryRequest extends FormRequest
public function rules() public function rules()
{ {
return [ return [
// 'title_tk' => 'required|min:5|max:255', 'title_tk' => 'required|min:5|max:255',
// 'title_ru' => 'required|min:5|max:255' 'title_ru' => 'required|min:5|max:255',
'view_type' =>'required',
'events_limit' =>'required|numeric'
]; ];
} }

View File

@ -121,7 +121,7 @@ class CreateUsersTable extends Migration
Schema::create('users', function ($t) { Schema::create('users', function ($t) {
$t->increments('id'); $t->increments('id');
$t->unsignedInteger('account_id')->index()->default(0); $t->unsignedInteger('account_id')->index()->default(0)->nullable();
$t->nullableTimestamps(); $t->nullableTimestamps();
$t->softDeletes(); $t->softDeletes();