Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix missing usernames v2 #982

Merged
merged 2 commits into from
Dec 2, 2024
Merged

fix missing usernames v2 #982

merged 2 commits into from
Dec 2, 2024

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

@Hagellach37 Hagellach37 merged commit ee4d494 into main Dec 2, 2024
1 check failed
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.

1 participant