atproto pds in zig pds.zat.dev
pds atproto
24

Configure Feed

Select the types of activity you want to include in your feed.

Fix permissioned authority migration startup

zzstoatzz (Jul 1, 2026, 10:03 AM -0500) 11ad3427 32d801cf

+1 -1
+1 -1
src/storage/store.zig
··· 3828 3828 const name = "permissioned-spaces-authority-columns"; 3829 3829 if (try migrationApplied(name)) return; 3830 3830 if (!try permissionedSpacesColumnExistsLocked("owner_did")) { 3831 + try conn.execNoArgs("CREATE INDEX IF NOT EXISTS permissioned_spaces_authority_idx ON permissioned_spaces (authority_did, space_type, uri)"); 3831 3832 try markMigrationApplied(name); 3832 3833 return; 3833 3834 } ··· 5592 5593 \\ UNIQUE(authority_did, space_type, skey) 5593 5594 \\) 5594 5595 , 5595 - "CREATE INDEX IF NOT EXISTS permissioned_spaces_authority_idx ON permissioned_spaces (authority_did, space_type, uri)", 5596 5596 \\CREATE TABLE IF NOT EXISTS permissioned_space_actor_state ( 5597 5597 \\ space TEXT NOT NULL REFERENCES permissioned_spaces(uri) ON DELETE CASCADE, 5598 5598 \\ actor_did TEXT NOT NULL,