seems the answer was to add opens db.migration;
to the module-info.java file
it had the right path and could find the file - adding this allowed it to run the migration files.
Wish I understood the module-info.java file more and not have to just rely on google to stumble into an answer.