03/10/2023, 11:23 PM
Hi there, quick question about managing relationships. We're self-hosting spicedb and still in the initial system set-up phase, so there's some churn and "burn it all to start fresh" cycles going on. It's pretty simple to do that sort of thing with the schema since writing a new schema replaces the existing one, but I couldn't figure out a way to delete all existing relationships and start over (ideally without having to destroy the datastore). The
tool has
relationship bulk-delete
but you still need a resource type as far as I can tell. It's obviously not too onerous to run that command once for each resource type in the schema, but I was wondering if there was a simpler way to achieve the same result? Thanks in advance!