I want to build an application which helps with the migration of data from one system to another. Assuming the target data is already in a posgres database i want you to build a codegen solution to deploy a graphql api over the database and an machine learning model which will look at the target schema and try and match to the source data fields