-- v32: configurable pointer-follow tilt strength for profile cards.
alter table public.profiles
  add column if not exists cursor_follow_intensity integer not null default 55;

do $$
begin
  if not exists (
    select 1 from pg_constraint
    where conname = 'profiles_cursor_follow_intensity_range'
  ) then
    alter table public.profiles
      add constraint profiles_cursor_follow_intensity_range
      check (cursor_follow_intensity between 0 and 100);
  end if;
end $$;