Skip to content

Conversation

@Hagellach37
Copy link
Member

@Hagellach37 Hagellach37 commented Dec 2, 2024

This fixes #687

check how many users are affected:

select 
count(*)
from users u 
where 1=1
	and username = ''
	and user_id not LIKE 'osm:%'
	and created >= '2024-01-01'
;

--> 403 users

Post-merge steps:

docker compose run -d mapswipe_workers_creation python python_scripts/update_task_contribution_count_in_firebase.py.
docker compose run -d mapswipe_workers_creation python python_scripts/add_missing_usernames_in_firebase.py
  • update usernames in postgres --> run mapswipe_workers creation docker container

ofr1tz and others added 2 commits October 30, 2024 15:13
Script to update users' taskContributionCount in Firebase from Postgres mapping_sessions
@Hagellach37 Hagellach37 merged commit 745098b into main Dec 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants