System Information
- Strapi Version: 4.6.1
- Operating System: Ubuntu20.4
- Database: planetscale
- Node Version: 18.12.1
- NPM Version: 9.1.2
While integration with strapi and planetscale. on process of creating tables in database, it’s Throw an Exception Like below
debug: ⛔️ Server wasn't able to start properly.
[2023-02-26 22:10:26.427] error: alter table `up_permissions_role_links` add constraint `up_permissions_role_links_fk` foreign key (`permission_id`) references `up_permissions` (`id`) on delete CASCADE - ER_UNKNOWN_ERROR: foreign key constraints are not allowed, see https://vitess.io/blog/2021-06-15-online-ddl-why-no-fk/
Error: ER_UNKNOWN_ERROR: foreign key constraints are not allowed, see https://vitess.io/blog/2021-06-15-online-ddl-why-no-fk/
can anyone tell why this issue will raise and tell me how to fix this issue.