Currently we have one table schema1, this is getting migrated to another schema2. And schema2 to has change in path for few fields which are currently being used in datamodel.
So now as migration is done for only one country A, but the current code runs for 3 countries.we have to use both schemas in our code and based on country for which we are running.
If we are running for country A we need yo refer to schema2 and if for other countries it should refer to existing schema1.
So we have dtamodel1 which refers to schema1 and new datamodel2 refering to schema2.
Most of the fileds from datamodel1 and datamodel are same, only few fields have chnage in path to current filed paths.
So how to map fileds from one datamodel to new datamodel fields.