migration-scripts
migration-scripts copied to clipboard
Error importing many-to-many relationships for multi-word table names
Bug report
Describe the bug
A new issue was introduced by this commit: https://github.com/strapi/migration-scripts/commit/471c641019a28d87d2076a9a59c604f3d892b587
When a strapi v3 column has a hyphen in its name, "inv_" is being prepended to the strapi v4 column name, causing the migration to fail.
Steps to reproduce the behavior
See the comments added to the commit for the specific line causing the failure