Pivoting from "records" to a combination of "tasks", "micro-tasks", "assets", and a few others.
One of the sql generations mistakenly looked for a field value of '?'. Whatever code was causing this to occur is no longer an issue. This does highlight the difficulty of needing to delete or modify faulty migration files.