LPGameDevs / EditarrrPublic

Public repo for level editor tools in Unity
MIT License
11 stars 2 forks source link

Backend: Script to Delete Scores for Levels that are or were drafts #210

Closed HaywardMorihara closed 1 year ago

HaywardMorihara commented 1 year ago

Solves https://github.com/LPGameDevs/EditarrrPublic/issues/204

For a dry run:

cd backend
./scripts/migrations/scors-delete-from-draft-levels.sh

To actually execute the deletion:

cd backend
RUN=true ./scripts/migrations/scores-delete-from-draft-levels.sh

I have not actually executed the script and done the deletion yet - only did the dry runs (wanted to get it reviewed first)