add sql command

master
Aevann 2023-12-01 21:38:16 +02:00
parent 0ac97906b6
commit 00ece38e42
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
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));
update award_relationships set kind='grinch' where kind='hallowgrinch';