Skip to content

Commit f9c7bbe

Browse files
committed
Laravel 10.x
1 parent ea5b197 commit f9c7bbe

File tree

3 files changed

+9317
-6
lines changed

3 files changed

+9317
-6
lines changed

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010
"require": {
1111
"php": "^8.0.2",
1212
"guzzlehttp/guzzle": "^7.4.4",
13-
"laravel/framework": "^9.23",
14-
"laravel/sanctum": "^2.15.1",
13+
"laravel/framework": "^10.0",
14+
"laravel/sanctum": "^3.2",
1515
"laravel/tinker": "^2.7"
1616
},
1717
"require-dev": {
1818
"fakerphp/faker": "^1.9.1",
1919
"laravel/pint": "^1.1.0",
2020
"laravel/sail": "^1.15",
2121
"mockery/mockery": "^1.4.4",
22-
"nunomaduro/collision": "^6.2",
23-
"phpunit/phpunit": "^9.5.10",
24-
"spatie/laravel-ignition": "^1.0"
22+
"nunomaduro/collision": "^7.0",
23+
"phpunit/phpunit": "^10.0",
24+
"spatie/laravel-ignition": "^2.0"
2525
},
2626
"autoload": {
2727
"psr-4": {
@@ -60,6 +60,6 @@
6060
"preferred-install": "dist",
6161
"sort-packages": true
6262
},
63-
"minimum-stability": "dev",
63+
"minimum-stability": "stable",
6464
"prefer-stable": true
6565
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
return new class extends Migration
8+
{
9+
/**
10+
* Run the migrations.
11+
*
12+
* @return void
13+
*/
14+
public function up()
15+
{
16+
Schema::table('personal_access_tokens', function (Blueprint $table) {
17+
$table->timestamp('expires_at')->nullable()->after('last_used_at');
18+
});
19+
}
20+
21+
/**
22+
* Reverse the migrations.
23+
*
24+
* @return void
25+
*/
26+
public function down()
27+
{
28+
Schema::table('personal_access_token', function (Blueprint $table) {
29+
$table->dropColumn('expires_at');
30+
});
31+
}
32+
};

0 commit comments

Comments
 (0)