Closed Romanavr closed 1 year ago
Any updates on this issue? I am also getting the same error while migrating from Craft version 3.8.10.2 to Craft version 4.4.13.
Screenshot for reference:
Sprout Data Studio Version 4.45.1
Craft Version 4.4.13
Database Type Version MySQL 8.0.15
This issue has been addressed in Data Studio 4.45.2
Thanks to @Romanavr for the PR.
Description
PR with fix of this problem https://github.com/barrelstrength/sprout/pull/253 Checked locally, after the fix the plugin is installed and the migration is applied
The problem:
The problem is that the FROM query is missing aliases, Same goes for the INNER JOIN So instead of:
It should be:
How to reproduce
Try to migrate from the latest Craft 3.x & Sprout-Reports version, in my case it was:
Sprout Version
4.45.1
Craft Version
4.4.13
Database Type Version
MySQL 8.0.31