Ticket #140 (new new_feature)

Opened 6 months ago

Last modified 6 months ago

Implement Cascaded Record Deletion (by Client ID)

Reported by: kindlund Assigned to: mbriggs
Priority: low Milestone: 1.1
Component: Drone Version: none
Severity: none Keywords: drone, database, chained, deletes, cascade
Cc:

Description

In case we ever get invalid data inserted into our production database, it would be nice to have a way to delete a specified client ID, where all fingerprints and data associated with that client ID are also fully deleted.

This includes:

  • file contents
  • file activity
  • register activity
  • process activity
  • url history

I think there is a way to have ActiveRecord do this for you, but I'm not 100% sure; perhaps something related to the directive:

:persistent => :destroy

But again, this would require further testing.

Attachments

Change History

02/28/08 17:28:21 changed by kindlund

As an aside, client_id (64) in our production database (accidentally) has 2 fingerprints; I haven't attempted manual deletion of the duplicate, but will probably need to walk through this at some point.


Add/Change #140 (Implement Cascaded Record Deletion (by Client ID))




Change Properties
Action