Email send time use email template on database
For migrate File : php artisan migrate --path=vendor/abhishek-laravel/email-template/src/database/migrations
Configuration of Queue Now, we are setup configuration on queue driver so first of all, we will set queue driver "database". You can set as you want also we will define driver as redis too. So here define database driver on .env file.
QUEUE_CONNECTION=database After that we need to generate migration and create tables for queue. So let's run below command for queue database tables.
php artisan queue:table Now, run migration in your terminal.
php artisan migrate
Error Solution :
1> SQLSTATE: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table
jobs add index
A temporary solution would be going to your config/database.php and change the charset and collation from utf8mb4 to utf8
'charset' => 'utf8', 'collation' => 'utf8_unicode_ci',