Hi,
I need to know what will happen if we re-deploy application from dev to QA environment but some of entities are removed in dev environment which are already deployed to QA in previous release. Will those changes reflect automatically after deployment? I want to confirm as we don't have access to deployment process, higher environments. I never faced this situation earlier.
Thanks!
I think yes, if Data layer is the part of your application deployment.
Hello @SSP
It's depends on your application deployment, suppose if you'll not deploy the application which has module in which you removed entities then it'll keep the entities in QA but if you'll deploy that app module then it'll reflect changes in QA.
To ensure you don't have any missing dependency deploy the entire solution because entities are crucial and they can be part of multiple modules.
ThanksDeep
Hi SSP
If you deploy the same module from which you deleted the entity it will also delete entity from Qa
Regards
We need to distinguish the concepts entity and database table here. An entity is an abstraction of a database table.
If you deploy a module with an entity removed, that previously existed in the target environment, then the entity will after deployment no longer exist. After deployment the module and metadata of source and target environment are on the same version.
However, the actual database table that was originally created because the entity was created, is NOT automatically delete on deployment of the module. This is also true for the records in the table.
The reason is that you are able to revert back to the previous module in the target environment, and the entity and table will work again correctly.
You can use tools like DBCleaner and DBCleaner to actually remove tables from the database, if the entity they were created from no longer exists.
Regards,
Daniel