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 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
The text was updated successfully, but these errors were encountered:
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
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 constrainta schema::drop('assign_assets'); ssign_assets_user_id_foreign
foreign key (user_id
) referencesusers
(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
The text was updated successfully, but these errors were encountered: