Resetting the root branch?
I have two branches. I no longer need the
main_old branch but I'm unable to delete it because it's the root branch (no parent). Is there a way to reset the root branch to main or otherwise some other way to delete and free up the space currently used by the dead branch? Thanks.
6 Replies
rare-sapphire•2y ago
There’s currently no way to delete that root branch. We might change this in the future. I’ll ask internally if there’s any planned changes around this
extended-salmon•2y ago
In the meantime you can delete data on the
main_old branch using the SQL editor
truncating the table will free up storagerare-sapphire•2y ago
@Mahmoud should they also disable history retention temporarily to avoid retaining a history of the data? This has the caveat that they lose history on all branches temporarily AFAIK
extended-salmon•2y ago
Not necessary IMO
Also, modifying the history retention window is only available on paid plans
rare-sapphire•2y ago
Is it? I think you can set it to 0 or 24 hours on free
plain-purpleOP•2y ago
Thanks @ShinyPokemon & @Mahmoud