Changes between Version 9 and Version 10 of RightToErasure


Ignore:
Timestamp:
May 3, 2018, 1:58:55 PM (6 years ago)
Author:
Kevin Reed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RightToErasure

    v9 v10  
    149149 * An entry will be inserted into the host_deleted table for each host record the user has.
    150150 * All entries  for the user will be deleted from the following tables:
    151    * badge_user (delete from badge_user where user_id = ?)
     151   * user_submit - ( delete from user_submit where user_id = ? )
     152   * user_submit_app - ( delete from user_submit_app where user_id = ? )   * badge_user (delete from badge_user where user_id = ?)
    152153   * banishment_vote (delete from banishment_vote where userid = ?)
    153154   * credit_user (delete from credit_user where userid = ?)
     
    166167   * post ( update post set parent_post = 0 where parent_post in (select id from post where user = ? ) )
    167168   * post ( delete from post where user = ? )
     169   * thread ( update thread set owner = 0 where owner = ? ) - note that the query to return the threads needs to be updated to be an outerjoin so that when misses occur, the thread still shows
     170   * private_messages ( delete from private_messages where userid = ? or senderid = ? )
    168171   * sent_email ( delete from sent_email where userid = ? )
    169172   * subscriptions ( delete from subscriptions where userid = ? )
     
    174177   * user ( delete from user where id = ? )
    175178 * Note that rows in the following are not deleted because these will be deleted in due course and are necessary for technical operation of the system:
    176    * result
    177  * Questions.
    178    * private_messages ( delete from private_messages where userid = ? or senderid = ? )  # Jord had asserted that we should only do this for userid = ?
    179    * thread ( update thread set owner = 0 where owner = ? ) - note that the query to return the threads needs to be updated to be an outerjoin so that when misses occur, the thread still shows
    180    * user_submit - don't know what to do with these
    181    * user_submit_app - don't know what to do with these
     179   * result (remove hostid from it though)
     180
    182181
    183182