fix datawarehouse migrations