Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-18105 Make deduping reversable
  3. CRM-18178

Skip _bak & _backup tables when generating log tables & triggers

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.3
    • Fix Version/s: 4.7.4
    • Component/s: None
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Contributed Code

      Description

      Quite a few times I've seen trigger creation fail on temporary back up tables. It seems a pretty common convention to back up a table before some operation by creating a table like

      civicrm_address_bak

      OR
      civicrm_address_backup

      conversely we have no tables that match that in CiviCRM and it seems unlikely we would. I propose excluding those 2 suffixes from the log files

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: