Issue
When trying to install a scoped Application via GIT, facing the following error -
Duplicate entry 'xxxxxxxxxx' for key 'PRIMARY'
Cause
This error is encountered when an application is installed via Application Repository, it is in active state and the same application is being installed via GIT.
Resolution
If a scoped application needs to be installed via GIT repository, then it first needs to be uninstalled when in active state in the instance