create table if not exists cet6_state (
space_id text primary key,
data jsonb not null,
updated_at timestamptz not null default now()
);
alter table cet6_state enable row level security;
create policy "anon read" on cet6_state for select using (true);
create policy "anon insert" on cet6_state for insert with check (true);
create policy "anon update" on cet6_state for update using (true);
在 Supabase → SQL Editor 执行一次即可。anon key 本身可公开,但同步空间 ID 相当于密码,请勿公开分享连接链接。