Laravel - Cache - Prerequisites Database
When using the database
cache driver, you will need to setup a table to contain the cache items. You'll find an example Schema
declaration for the table below:
Schema::create('cache', function ($table) {
$table->string('key')->unique();
$table->text('value');
$table->integer('expiration');
});
You may also use the php artisan cache:table
Artisan command to generate a migration with the proper schema.