strapi / migration-scripts

Collection of Strapi Migration scripts
58 stars 57 forks source link

Filter information_schema.tables result by the relevant table_schema #120

Closed kasonde closed 6 months ago

kasonde commented 6 months ago

In MySQL it is necessary to filter results of the infromation_schema.tables SELECT query by the table_schema to prevent knex from attempting to migrate table names from unrelated databases within the same MySQL instance.

This fix targets Internal-TID: 5291