Hi i am using laravel v5.5
and am getting the error below when i run this command
php artisan migrate --seed
please advice how i can fix the error :
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'email_verified_at' in 'field list' (SQL: insert into users (name, email,email_verified_at, password, created_at, updated_at) values (Admin Admin, [email protected], 2020-02-27 13:17:35, $2y$10$0 J3IWuCGVzgfPlP8UgfOK.MjNs2R.m5Jri43SPK3VXSy1NDZHKt4u, 2020-02-27 13:17:35, 2020-02-27 13:17:35)
In Connection.php line 452
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'email_verified_at' in 'field list')
if i am to add new columns to the database using laravel can you assist how i can do it .
Thank you in advance.
email_verified_at
exists inusers
table. check user table and if you don't find it in addemail_verified_at
field. – Dilip Hiraparaemail_verified_at
field from user factory file or upgrade your laravel to >= 5.7 – train_fox