Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
# Upgrade Guide
2
 
3
## Upgrading To 3.0 From 2.x
4
 
5
### Minimum Versions
6
 
7
The following dependency versions have been updated:
8
 
9
- The minimum PHP version is now v8.0.2
10
- The minimum Laravel version is now v9.21
11
 
12
### New `expires_at` Column
13
 
14
Sanctum now supports expiring tokens. To support this feature, a new `expires_at` column must be added to your application's `personal_access_tokens` table. To add the column to your table, create a migration with the following schema change:
15
 
16
```php
17
Schema::table('personal_access_tokens', function (Blueprint $table) {
18
    $table->timestamp('expires_at')->nullable()->after('last_used_at');
19
});
20
```