forked from MarseyWorld/MarseyWorld
4 lines
215 B
MySQL
4 lines
215 B
MySQL
|
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));
|