[#39970349] Fix legacy migration problems with renamed data_source table