Now, we are going to make changes to the previously created data model. So create another file LDM_creating_entity_version2. Open the…