Open jarnix opened 4 months ago
This error occurs because you are using a database user that does not have sufficient permissions to make changes to the database. Revert your code, and then try to connect with a user that has root privileges in the application.
Bug report
Required System information
Describe the bug
There is no way of going further. I have to delete every table and restart but I will lose every content of course.
Steps to reproduce the behavior
First launch, after creating the first user, going to the content-type builder, I added one field, and then clicked on Save. Strapi restarts with this error:
Expected behavior
The server should restart properly and not try to create duplicated foreign keys.
Additional context
This happens with mysql, not with a file db, there is no fk in the file db...