mercredi 2 septembre 2015

Laravel - while migrate:refresh shows Key column 'asset_management_id' doesn't exist in table

I am new to laravel. Recently I cloned sample project from github. I wanna develope the project. when I migrate by php artisan migrate:refresh --seed

It shows:

[Illuminate\Database\QueryException]

SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'asset_management_id' doesn't exist in table (SQL: alter table `assets` add index ndx_AssetMgtID(`asset_management_id`))  
[PDOException]                                                                             

  SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'asset_management_id' doesn't exist in table 



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1JMJbjL
via IFTTT

Aucun commentaire:

Enregistrer un commentaire