Skip to content

Commit

Permalink
update laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Mar 12, 2024
1 parent a408330 commit 538f3ff
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('personal_access_tokens', function (Blueprint $table) {
$table->id();
$table->morphs('tokenable');
$table->string('name');
$table->string('token', 64)->unique();
$table->text('abilities')->nullable();
$table->timestamp('last_used_at')->nullable();
$table->timestamp('expires_at')->nullable();
$table->timestamps();
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('personal_access_tokens');
}
};
2 changes: 1 addition & 1 deletion src/Http/Controllers/UserProfileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
use Illuminate\Support\Facades\Redirect;
use Illuminate\Validation\Rules\Password;

use Jenssegers\Agent\Agent;
use Laravel\Fortify\Features;
use Laravel\Jetstream\Agent;

class UserProfileController extends Controller
{
Expand Down

0 comments on commit 538f3ff

Please sign in to comment.