How is the 'Upload' entity coded?
One-to-one is a relation where A contains only one instance of B, and B contains only one instance of A.
https://orkhan.gitbook.io/typeorm/docs/one-to-one-relations
How will the information previously saved in policy be or was it migrated?