FalconDBSyncSteps
Falcon DB's Information :¶
IP :192.168.20.241 UserName :kpmduser Password:Medwrite
Databases list to Process :¶
- EMRMU2
- EMRMU2_AuditLog
- Falcon
- FalconForTest
- FalconTesting
- StageEMRMU2
- StageEMRMU2_AuditLog
- EMRMU2_AuditLog
Steps to Sync :¶
- Get latest from the git. > git pull
- In Visual Studio we have to uncheck the ScriptRefreshModule option in general settings.
- Compare scripts of Falcon and StageFalcon .
- Then click on Generate script option.
- After generationg the script we have to copy the script to new query window in DB.
- Search the script file for the keywords: drop, delete & refresh If any found we have to remove.
- If any tables modified, then manually write the ALTER commands and add it to the DIFF script files
- Run the DIFF scripts in the respective Stage databases. Run the Falcon DIFF script in local FalconTesting DB also.
- Add the newly saved DIFF script files to git. > git add .
- Commit to git. > git commit -m "Daily DB change script files added."
- push to git. > git push.
- Compare Falcon & FalconForTest and update the FalconForTest without generating/saving the script files.