laravel-world icon indicating copy to clipboard operation
laravel-world copied to clipboard

Table not found on php artisan world:init run

Open KellsWorks opened this issue 2 years ago • 1 comments

Illuminate\Database\QueryException

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ecast.world_cities_locale' doesn't exist (SQL: alter table world_cities_locale add constraint world_cities_locale_ibfk_1 foreign key (city_id) references world_cities (id) on delete CASCADE on update RESTRICT)

KellsWorks avatar Sep 11 '21 17:09 KellsWorks

@KellsWorks Try reinstalling (rollback migrations), looks like maybe something didn't complete properly the first time around? Or manually run the migrations in the right order?

seche avatar Dec 15 '21 21:12 seche