Skip to content

Commit

Permalink
Laravel 10.x
Browse files Browse the repository at this point in the history
  • Loading branch information
hasinhayder committed Jan 7, 2024
1 parent ea5b197 commit f9c7bbe
Show file tree
Hide file tree
Showing 3 changed files with 9,317 additions and 6 deletions.
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
"require": {
"php": "^8.0.2",
"guzzlehttp/guzzle": "^7.4.4",
"laravel/framework": "^9.23",
"laravel/sanctum": "^2.15.1",
"laravel/framework": "^10.0",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.7"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"laravel/pint": "^1.1.0",
"laravel/sail": "^1.15",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.2",
"phpunit/phpunit": "^9.5.10",
"spatie/laravel-ignition": "^1.0"
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.0",
"spatie/laravel-ignition": "^2.0"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -60,6 +60,6 @@
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"prefer-stable": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?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::table('personal_access_tokens', function (Blueprint $table) {
$table->timestamp('expires_at')->nullable()->after('last_used_at');
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('personal_access_token', function (Blueprint $table) {
$table->dropColumn('expires_at');
});
}
};
Loading

0 comments on commit f9c7bbe

Please sign in to comment.