Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-12274

Merge activity tables into one unified table activity contact table

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.4.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      1. Merge tables activity_assignment, activity_target and 'source_contact_id' column from activity table into one new table activity_contact.

      2. For the upgrade script, please consider renaming activity_assignment or activity_target to the new table name which reduces the migration needed

      3. Restructure all queries to use the new table

      4. For a future project, consider searching on all contacts in activity rather than the current restriction of only activity_target (for query sanity purposes)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yashodha Yashodha Chaku
                Reporter:
                lobo Donald A. Lobo
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days, 6 hours
                  3d 6h
                  Remaining:
                  Time Spent - 2 days, 4 hours Remaining Estimate - 1 day, 2 hours
                  1d 2h
                  Logged:
                  Time Spent - 2 days, 4 hours Remaining Estimate - 1 day, 2 hours
                  2d 4h