<commit_before>update api_keys set `key` = '<KEY>';

update donations set email = '<EMAIL>';
update donations set who = 'anonymous' where anonymous = true;

update herbaria set email = '<EMAIL>';

update image_votes set user_id = 0 where anonymous = true;

update images set original_name = 'xxx';

# delete from interests;

delete from t using location_descriptions_admins as t
 inner join location_descriptions as ld on ld.id = t.location_description_id
 where ld.public = false;

delete from t using location_descriptions_authors as t
 inner join location_descriptions as ld on ld.id = t.location_description_id
 where ld.public = false;

delete from t using location_descriptions_editors as t
 inner join location_descriptions as ld on ld.id = t.location_description_id
 where ld.public = false;

delete from t using location_descriptions_readers as t
 inner join location_descriptions as ld on ld.id = t.location_description_id
 where ld.public = false;

delete from t using location_descriptions_versions as t<commit_msg>Forgot to include line in database stripping script to remove hidden lat/longs from the observations table.<commit_after>update api_keys set `key` = '<KEY>';

update donations set email = '<EMAIL>';
update donations set who = 'anonymous' where anonymous = true;

update herbaria set email = '<EMAIL>';

update image_votes set user_id = 0 where anonymous = true;

update images set original_name = 'xxx';

update observations set lat = null, long = null where gps_hidden = true;

# delete from interests;

delete from t using location_descriptions_admins as t
 inner join location_descriptions as ld on ld.id = t.location_description_id
 where ld.public = false;

delete from t using location_descriptions_authors as t
 inner join location_descriptions as ld on ld.id = t.location_description_id
 where ld.public = false;

delete from t using location_descriptions_editors as t
 inner join location_descriptions as ld on ld.id = t.location_description_id
 where ld.public = false;

delete from t using location_descriptions_readers as t
 inner join location_descriptions as ld on ld.id = t.location_description_id
 where ld.public = false;

delete from t using location_descriptions_versions as t
{'fraction_non_alphanumeric': 0.058055805580558055, 'fraction_numerical': 0.0009000900090009, 'mean_word_length': 5.175, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2037772', 'n_tokens_mistral': 646, 'n_tokens_neox': 609, 'n_words': 260}