set lock_timeout = '5s';
alter table public.wa_accounts add column if not exists cold_locked_until timestamptz;
-- today's restricted number starts its 7-day cold lock NOW (the supervisor hook only covers future logouts)
update public.wa_accounts set cold_locked_until = now() + interval '7 days' where id = '9b7300b4-39e5-4d86-8a0d-a6c73cfdb65f';
notify pgrst, 'reload schema';
