Laravel 10.x

pull/29/head
Hasin Hayder 2 years ago
parent ea5b197e14
commit f9c7bbe77d

@ -10,8 +10,8 @@
"require": { "require": {
"php": "^8.0.2", "php": "^8.0.2",
"guzzlehttp/guzzle": "^7.4.4", "guzzlehttp/guzzle": "^7.4.4",
"laravel/framework": "^9.23", "laravel/framework": "^10.0",
"laravel/sanctum": "^2.15.1", "laravel/sanctum": "^3.2",
"laravel/tinker": "^2.7" "laravel/tinker": "^2.7"
}, },
"require-dev": { "require-dev": {
@ -19,9 +19,9 @@
"laravel/pint": "^1.1.0", "laravel/pint": "^1.1.0",
"laravel/sail": "^1.15", "laravel/sail": "^1.15",
"mockery/mockery": "^1.4.4", "mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.2", "nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^9.5.10", "phpunit/phpunit": "^10.0",
"spatie/laravel-ignition": "^1.0" "spatie/laravel-ignition": "^2.0"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
@ -60,6 +60,6 @@
"preferred-install": "dist", "preferred-install": "dist",
"sort-packages": true "sort-packages": true
}, },
"minimum-stability": "dev", "minimum-stability": "stable",
"prefer-stable": true "prefer-stable": true
} }

@ -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');
});
}
};

9279
package-lock.json generated

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save