kmanjari / hrms

Human Resource Management System automation using Laravel 5.2
161 stars 122 forks source link

php artisan migrate Error #35

Closed cloudi32003 closed 6 years ago

cloudi32003 commented 6 years ago

Hi Kmanjari,

I have this error when running php artisan migrate. Please advise and help on this issue.

C:\xampp\htdocs\hrms-master>php artisan migrate Migration table created successfully. [Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1059 Identifier name 'a schema::drop('assign_assets'); ssign_assets_user_id_foreign' is too long (SQL: alter table a Schem a::drop('assign_assets'); ssign_assets add constraint a schema::drop('assign_assets'); ssign_assets_user_id_foreign foreign key (user_id) references users ( id) on delete cascade)

[PDOException] SQLSTATE[42000]: Syntax error or access violation: 1059 Identifier name 'a schema::drop('assign_assets'); ssign_assets_user_id_foreign' is too long

khanof89 commented 6 years ago

There was some invalid code in table migration which is fixed now, please open issues if you find any further

cloudi32003 commented 6 years ago

Hi Shahrukh,

Yes I had clone the latest code and still having error when running php artisan migrate.

May I know why i'm still not able to login using the dataseeder email and password to login.

Best Regards, Johnny Lee

On Sat, Oct 21, 2017 at 5:35 PM, Shahrukh Khan notifications@github.com wrote:

There was some invalid code in migrations table which is fixed now, please open issues if you find any further

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kmanjari/hrms/issues/35#issuecomment-338378599, or mute the thread https://github.com/notifications/unsubscribe-auth/ABpycuifg1WBbnvMynE705fUhFrVarESks5subrLgaJpZM4QBcRg .