snapshot_files FK on file_id lacks ON DELETE CASCADE #19
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In
schema.sql:The FK from
snapshot_files.file_idtofiles.iddoes NOT cascade. If orphaned files are deleted during cleanup, this will fail. Thesnapshot_idFK does cascade (from snapshots), but thefile_idside does not.Similarly,
snapshot_blobs.blob_idreferencesblobs(id)without CASCADE.Ref: parent issue #1