strapi / migration-scripts

Collection of Strapi Migration scripts
58 stars 57 forks source link

Fix issue with pascal case table names from v3 #90

Closed molund closed 1 year ago

molund commented 1 year ago

We had two tables in our v3 database called "Pages" and "Websites" where the name started with a capital letter.

These messages were appearing in the console, and the strapi4 tables were empty

DESTINATION TABLE Pages DOES NOT EXISTS
DESTINATION TABLE Websites DOES NOT EXISTS

This PR changes the destination table to the lowercase v4 format.