daniel21gt
5 months ago

Problem when running seeders laravel 5.5

Posted 5 months ago by daniel21gt

I am currently migrating my project to a real hosting, so far everything is fine, the migrations were executed without problems, but at the time of executing the seeder I see this error.

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'winnersc_asambles2019.Mayor' doesn't exist (SQL: insert into Mayor (mayor_candidate, updated_at, created_at) values (AlcaldeUno, 2019-05-10 01:27:21, 2019-0 5-10 01:27:21))

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'winnersc_asambles2019.Mayor' doesn't exist

I do not understand why, the table does exist, the migrations were correct, when I run them on my local server it goes without problems but in the hosting, no one knows why this?

my seeder

Please sign in or create an account to participate in this conversation.