fix to recovery class foreign key in projects table