The application was initially developed in the dev-environment and later exported to the prod-environment. However, changes have since been made directly in the prod-environment that are not reflected in development—and unfortunately, these changes were not documented.
Now the question is: Is it safe to overwrite the development version with the production version, considering potential issues such as differing IDs, configurations, or other environment-specific data?
If it's not safe, what would be your suggestions for how to approach it otherwise?