unisonweb / unison

A friendly programming language from the future
https://unison-lang.org
Other
5.78k stars 270 forks source link

reflog entries should not be deleted when branch is deleted #5229

Open ChrisPenner opened 3 months ago

ChrisPenner commented 3 months ago

I believe the reflog has a CASCADE DELETE right now, and is linked to the branch that way, we should probably also just store the current branch name on the record and change it to an on-delete-set-null so we don't wipe out the reflog when a branch or project is deleted.

aryairani commented 3 months ago

related to https://github.com/unisonweb/unison/issues/5167