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

SQLSTATE[HY000]: General error: 1215 Unable to add external index constraints #121

Open
BosterJack opened this issue Feb 13, 2023 · 0 comments

Comments

@BosterJack
Copy link

Good evening dear geek

I tried to associate the AbstractClient to my Entity Client and then launch the migration in my database and since two weeks, I have this error:

"An exception occurred while executing 'ALTER TABLE oauth2_authorization_code ADD CONSTRAINT FK_509FEF5FC7440455 FOREIGN KEY (client) REFER
ENCES oauth_client (identifier) ON DELETE CASCADE':

SQLSTATE[HY000]: General error: 1215 Unable to add external index constraints "

Please help me.
Capture

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

1 participant