格式化代码
This commit is contained in:
parent
1e3dd8c979
commit
0e27e81924
@ -5,17 +5,12 @@
|
||||
// use App\Helpers\ApiResponse;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Models\User;
|
||||
use App\Notifications\User\UserNotification;
|
||||
use function back;
|
||||
use function config;
|
||||
use GuzzleHttp\Client;
|
||||
use GuzzleHttp\Exception\ClientException;
|
||||
use GuzzleHttp\Exception\GuzzleException;
|
||||
use Illuminate\Http\RedirectResponse;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Str;
|
||||
use Illuminate\View\View;
|
||||
use function redirect;
|
||||
use function session;
|
||||
|
@ -15,7 +15,7 @@ public function up(): void
|
||||
{
|
||||
Schema::table('users', function (Blueprint $table) {
|
||||
// if it has column `deleted_at`, skip
|
||||
if (!Schema::hasColumn('users', 'deleted_at')) {
|
||||
if (! Schema::hasColumn('users', 'deleted_at')) {
|
||||
$table->softDeletes();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user