database
Create a migration for the database cache driver.
php artisan php artisan cache:table
Syntax
Syntax
php artisan cache:table
Explanation
Generates a migration to create the cache table in your database. Required when using CACHE_DRIVER=database. The table stores cached items with expiration support.
Example
Example
php artisan cache:table
Explanation
Generates a migration to create the cache table in your database. Required when using CACHE_DRIVER=database. The table stores cached items with expiration support.