purge players script

master
Thomas Rudin 2020-03-01 19:22:26 +01:00
parent cc2b0d55ef
commit 865cc851af
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#!/bin/sh
docker-compose exec postgres psql -U postgres -c "delete from player where name not in (select player from player_metadata group by player);"