We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 382181b commit 5bc500eCopy full SHA for 5bc500e
tests/DeleteUserWithTeamsTest.php
@@ -8,6 +8,7 @@
8
use App\Models\Team;
9
use Illuminate\Support\Facades\DB;
10
use Illuminate\Support\Facades\Gate;
11
+use Illuminate\Support\Facades\Schema;
12
use Illuminate\Support\Str;
13
use Laravel\Jetstream\Jetstream;
14
use Laravel\Jetstream\Tests\Fixtures\TeamPolicy;
@@ -66,5 +67,11 @@ protected function createTeam()
66
67
protected function migrate()
68
{
69
$this->artisan('migrate', ['--database' => 'testbench'])->run();
70
+
71
+ Schema::create('personal_access_tokens', function ($table) {
72
+ $table->id();
73
+ $table->foreignId('tokenable_id');
74
+ $table->string('tokenable_type');
75
+ });
76
}
77
0 commit comments