update public.workspace_memberships
set role = 'member'
where role = 'admin';

alter table public.workspace_memberships
drop constraint if exists workspace_memberships_role_check;

alter table public.workspace_memberships
add constraint workspace_memberships_role_check
check (role in ('owner', 'member'));
