How to run migrations in Laravel project with waavi/translation?

37 Views Asked by At

I have a Laravel project with waavi/translation module. My DB is fresh and doesn't have any tables. I'm trying to execute migrations

php artisan migrate

But I get an error message:

In Connection.php line 712:
                                                                                                                                                                                                 
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'abc.ai_translator_translations' doesn't exist (SQL: select * from `ai_translator_translations` where `locale` = pl and `namespa  
  ce` = * and `group` = *)                                                                                                                                                                       
                                                                                                                                                                                                 

In Exception.php line 18:
                                                                                                               
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'abc.ai_translator_translations' doesn't exist  
                                                                                                               

In PDOConnection.php line 82:
                                                                                                               
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'abc.ai_translator_translations' doesn't exist

But when I try to run migrations only from this module:

php artisan migrate --path=./modules/translation/database/migrations

I get the same error...

I can't execute migrations from this module, because I don't have executed migrations from this module

How can I solve that?

0

There are 0 best solutions below