MarseyWorld/migrations/20231201-better-grinch-code...

5 lines
287 B
MySQL
Raw Normal View History

2023-12-01 19:31:45 +00:00
alter table users add column grinch bool default false not null;
alter table users alter column grinch drop default;
update users set grinch=true where id in (select user_id from badges where badge_id in (91,185));
2023-12-01 19:38:16 +00:00
update award_relationships set kind='grinch' where kind='hallowgrinch';