Skip to content

Commit

Permalink
migration fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BastLast committed Nov 9, 2020
1 parent 187e6e1 commit 22bbf8b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions database/migrations/010-classesimproved.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
ALTER TABLE classes ADD price INTEGER;
ALTER TABLE classes ADD classgroup INTEGER;

update players set badges = players.badges||"-🔖" where players.class != 0 and players.badges is not null;
update players set badges = "🔖" where badges is null and players.class != 0;

UPDATE players SET class = 5 WHERE players.class = 2;
UPDATE players SET class = 9 WHERE players.class = 1;

Expand Down

0 comments on commit 22bbf8b

Please sign in to comment.