···11+create table "public"."bsky_follows" (
22+ "identity" text not null,
33+ "follows" text not null
44+);
55+66+alter table "public"."bsky_follows" enable row level security;
77+88+CREATE UNIQUE INDEX bsky_follows_pkey ON public.bsky_follows USING btree (identity, follows);
99+1010+CREATE INDEX facts_reference_idx ON public.facts USING btree (((data ->> 'value'::text))) WHERE (((data ->> 'type'::text) = 'reference'::text) OR ((data ->> 'type'::text) = 'ordered-reference'::text));
1111+1212+alter table "public"."bsky_follows" add constraint "bsky_follows_pkey" PRIMARY KEY using index "bsky_follows_pkey";
1313+1414+alter table "public"."bsky_follows" add constraint "bsky_follows_follows_fkey" FOREIGN KEY (follows) REFERENCES identities(atp_did) ON DELETE CASCADE not valid;
1515+1616+alter table "public"."bsky_follows" validate constraint "bsky_follows_follows_fkey";
1717+1818+alter table "public"."bsky_follows" add constraint "bsky_follows_identity_fkey" FOREIGN KEY (identity) REFERENCES identities(atp_did) ON DELETE CASCADE not valid;
1919+2020+alter table "public"."bsky_follows" validate constraint "bsky_follows_identity_fkey";
2121+2222+grant delete on table "public"."bsky_follows" to "anon";
2323+2424+grant insert on table "public"."bsky_follows" to "anon";
2525+2626+grant references on table "public"."bsky_follows" to "anon";
2727+2828+grant select on table "public"."bsky_follows" to "anon";
2929+3030+grant trigger on table "public"."bsky_follows" to "anon";
3131+3232+grant truncate on table "public"."bsky_follows" to "anon";
3333+3434+grant update on table "public"."bsky_follows" to "anon";
3535+3636+grant delete on table "public"."bsky_follows" to "authenticated";
3737+3838+grant insert on table "public"."bsky_follows" to "authenticated";
3939+4040+grant references on table "public"."bsky_follows" to "authenticated";
4141+4242+grant select on table "public"."bsky_follows" to "authenticated";
4343+4444+grant trigger on table "public"."bsky_follows" to "authenticated";
4545+4646+grant truncate on table "public"."bsky_follows" to "authenticated";
4747+4848+grant update on table "public"."bsky_follows" to "authenticated";
4949+5050+grant delete on table "public"."bsky_follows" to "service_role";
5151+5252+grant insert on table "public"."bsky_follows" to "service_role";
5353+5454+grant references on table "public"."bsky_follows" to "service_role";
5555+5656+grant select on table "public"."bsky_follows" to "service_role";
5757+5858+grant trigger on table "public"."bsky_follows" to "service_role";
5959+6060+grant truncate on table "public"."bsky_follows" to "service_role";
6161+6262+grant update on table "public"."bsky_follows" to "service_role";