use sessions table
This commit is contained in:
parent
529a352906
commit
8bc9ef728b
2 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ return new class extends Migration
|
|||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('auth_sessions', function (Blueprint $table): void {
|
||||
Schema::create('sessions', function (Blueprint $table): void {
|
||||
$table->string('token', 64)->primary();
|
||||
$table->foreignId('user_id')
|
||||
->constrained('users')
|
||||
|
|
@ -20,6 +20,6 @@ return new class extends Migration
|
|||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('auth_sessions');
|
||||
Schema::dropIfExists('sessions');
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue