Change a constraint to add ON DELETE CASCADE
I've not used these in many places, to try and avoid hiding deleting data, but in this case, this will allow more easily deleting the derivation source file nars, by just deleting the derivation_source_files table entry.
This commit is contained in:
parent
125a35fce5
commit
841f5fb186
4 changed files with 28 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
-- Revert guix-data-service:change_derivation_source_file_nars_constraint from pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
-- XXX Add DDLs here.
|
||||
|
||||
COMMIT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue