This is unfortunately not side effect free but it seems we need to handle sqlmesh state migrations when loading sqlmesh. Potentially we will want to set some kind of flag for this instead. The other thought is perhaps we handle this through some other means that will be described in a separate issue.