Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-1518

SQL script to copy global templates from Pre Prod to Production

    Details

    • Type: Maintenance
    • Status: Code Review
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: CBAT Offer Letter - Fall
    • Labels:
      None

      Description

      SQL script to copy global templates from Pre prod to PRoduction

        Attachments

          Activity

          Hide
          samir Samir added a comment -
          • Global template to be copied with sql script. Template ID to be given as parameter
          • Files to be managed manually (Folder Copy)

          Ganesh Sadawarte

          Show
          samir Samir added a comment - Global template to be copied with sql script. Template ID to be given as parameter Files to be managed manually (Folder Copy) Ganesh Sadawarte
          Hide
          ramya.tantry Ramya Tantry (Inactive) added a comment - - edited

          Tasks Done: 

          1. Creation of Script with Template ID as parameter. This template ID is of Pre-prod's document template.
          2. Migrated data of tables documenttemplate, documenttemplatefields, documenttemplatefieldmappings, documenttemplatefieldsrights of pre-prod to Prod
          3. Unit testing on local server.

          NOTE: Template Files will be copied manually. 

          As discussed with Samir, when data is to be moved from Pre-prod to prod, Pre-prod db will be attached to prod db server.

          This will be executed as and when required basis. Hence it will be checked into Other folder of Database Objects

          Files Affected:

          DMS/Databases Objects/07_Other/DMS_SP_CopyGlobalTemplates.sql

          Show
          ramya.tantry Ramya Tantry (Inactive) added a comment - - edited Tasks Done:   Creation of Script with Template ID as parameter. This template ID is of Pre-prod's document template. Migrated data of tables documenttemplate, documenttemplatefields, documenttemplatefieldmappings, documenttemplatefieldsrights of pre-prod to Prod Unit testing on local server. NOTE : Template Files will be copied manually.  As discussed with Samir, when data is to be moved from Pre-prod to prod, Pre-prod db will be attached to prod db server. This will be executed as and when required basis. Hence it will be checked into Other folder of Database Objects Files Affected: DMS/Databases Objects/07_Other/DMS_SP_CopyGlobalTemplates.sql
          Hide
          samir Samir added a comment -

          Production Super Admin id : 145

          Show
          samir Samir added a comment - Production Super Admin id : 145
          Hide
          ramya.tantry Ramya Tantry (Inactive) added a comment -

          Steps: 

          1. This SP should be available on Production DB.
          2. Pre-prod db should be attached to Prod db server.
          3. Identify Pre-prod's Template Id's to be copied.
          4. Supply Pre-prod's document template ID as parameter  to attached SP. DMS_SP_CopyGlobalTemplates.sql
            Eg : CALL `dms_master`.`DMS_SP_CopyGlobalTemplates`(355);
          5. Template Files will be copied manually. 
          6. Verify migrated Data on Production db.

           

          Show
          ramya.tantry Ramya Tantry (Inactive) added a comment - Steps:   This SP should be available on Production DB. Pre-prod db should be attached to Prod db server. Identify Pre-prod's Template Id's to be copied. Supply Pre-prod's document template ID as parameter  to attached SP.  DMS_SP_CopyGlobalTemplates.sql Eg : CALL `dms_master`.`DMS_SP_CopyGlobalTemplates`(355); Template Files will be copied manually.  Verify migrated Data on Production db.  

            People

            Assignee:
            samir Samir
            Reporter:
            samir Samir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Time Spent - 7h 20m Remaining Estimate - 40m
                40m
                Logged:
                Time Spent - 7h 20m Remaining Estimate - 40m
                7h 20m