Will Changing Module Definitions Affect My Data in Production?

Hello everyone,

I need some advice on deploying updates to my custom app in production. Here’s what I’ve done so far:

Current Situation:

  • I have a custom app that is currently running in production with all doctypes in one module.

What I Changed:

  1. I created new modules to organize the doctypes better.
  2. Moved each doctype to its new module.
  3. Moved all controller methods and business logic to new files.
  4. Tested everything in the testing environment (UAT), and it works perfectly.

My Concerns:

  • Data Loss: When I deploy these changes to production, will the existing data in my doctypes be affected?
  • Table Mapping: Will the tables and data be correctly mapped to their new modules?
  • Best Practices: What steps should I take to ensure a smooth deployment without losing any data?

I plan to take a backup before deploying, but I want to understand if there are any risks or extra steps I should take to avoid issues.

Thank you for your help!

@NCP Can you please advice on this ?