Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php artisan migrate Error #35

Closed
cloudi32003 opened this issue Oct 21, 2017 · 2 comments
Closed

php artisan migrate Error #35

cloudi32003 opened this issue Oct 21, 2017 · 2 comments

Comments

@cloudi32003
Copy link

cloudi32003 commented Oct 21, 2017

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
Copy link
Collaborator

khanof89 commented Oct 21, 2017

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

@cloudi32003
Copy link
Author

cloudi32003 commented Oct 21, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants