Skip to content

Commit c6acb10

Browse files
committed
More database sanitization
- Legacy-Id: 2006
1 parent c162951 commit c6acb10

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

test/sql_sanitize.sql

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,14 @@ UPDATE idst_users SET random_str = 'deleted';
1010
UPDATE users SET password = 'deleted';
1111
DELETE FROM django_session;
1212

13+
-- Information only shown to IESG currently
14+
15+
DELETE FROM document_comments WHERE public_flag=0;
16+
DELETE FROM management_issues;
17+
DELETE FROM templates;
18+
19+
-- Personal information not shown currently
20+
21+
DELETE FROM meeting_attendees;
22+
UPDATE postal_addresses SET person_title='', affiliated_company='Deleted', aff_company_key='DELETED', department = '', staddr1='', staddr2='', mail_stop='', city='', state_or_prov='', postal_code='';
23+
UPDATE phone_numbers SET phone_number='deleted';

0 commit comments

Comments
 (0)