Remove softDelete from User model

This commit is contained in:
Bubka 2020-01-14 11:08:21 +01:00
parent efc3f5d61e
commit c3b0138fd8
2 changed files with 1 additions and 3 deletions

View File

@ -5,12 +5,11 @@
use Illuminate\Notifications\Notifiable; use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Database\Eloquent\SoftDeletes;
use Laravel\Passport\HasApiTokens; use Laravel\Passport\HasApiTokens;
class User extends Authenticatable class User extends Authenticatable
{ {
use HasApiTokens, SoftDeletes, Notifiable; use HasApiTokens, Notifiable;
/** /**
* The attributes that are mass assignable. * The attributes that are mass assignable.

View File

@ -21,7 +21,6 @@ public function up()
$table->string('password'); $table->string('password');
$table->rememberToken(); $table->rememberToken();
$table->timestamps(); $table->timestamps();
$table->softDeletes();
}); });
} }