From 2a88ac03e974c23d24aa94aa012212e7b64306ea Mon Sep 17 00:00:00 2001 From: Tenari Date: Wed, 12 Jul 2023 17:21:51 -0500 Subject: [PATCH] re-create spaces paths on-load since we are wiping the db --- desks/realm/app/bedrock.hoon | 1 + 1 file changed, 1 insertion(+) diff --git a/desks/realm/app/bedrock.hoon b/desks/realm/app/bedrock.hoon index 7b945b0b88..882197a951 100644 --- a/desks/realm/app/bedrock.hoon +++ b/desks/realm/app/bedrock.hoon @@ -54,6 +54,7 @@ (~(gas by *^tables) ~[[%relay *pathed-table] [%vote *pathed-table] [%react *pathed-table]]) :: do a quick check to make sure we are subbed to /updates in %spaces =/ cards + :- [%pass /selfpoke %agent [our.bowl dap.bowl] %poke %db-action !>([%create-initial-spaces-paths ~])] :- [%pass /selfpoke %agent [our.bowl %api-store] %poke %api-store-action !>([%sync-to-bedrock ~])] :: ALSO REMOVE WHEN YOU STOP WIPING THE DATA EVERY TIME ?: (~(has by wex.bowl) [/spaces our.bowl %spaces]) ~