You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have a problem when i run the Artisan::call('migrate', ['--force' => true]). When i execute the code, i got message
SQLSTATE[42000]: Syntax error or access violation: 1103 Incorrect table name '' (SQL: create table `` (id int unsigned not null auto_increment primary key, migration varchar(191) not null, batch int not null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')
I've tried to run migration with php artisan migrate and it works fine. I think the problem is when creating migrations table, because i don't have any table with migration and batch field.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
i have a problem when i run the
Artisan::call('migrate', ['--force' => true])
. When i execute the code, i got messageI've tried to run migration with php artisan migrate and it works fine. I think the problem is when creating migrations table, because i don't have any table with migration and batch field.
here is my
migrate()
code:and my
seed()
code:Beta Was this translation helpful? Give feedback.
All reactions