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

4 lines
215 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));