Use ReplaySpecializer to fix DomainBase replays (#991)

* Use ReplaySpecializer to fix DomainBase replays

DomainBase currently has a number of ancillary objects that require a
cascading delete that doesn't get propagated.  Implement beforeSqlDelete() in
DomainContent to delete these child entities.

* Remove unnecessary Query variable

* Fix rebase error
This commit is contained in:
Michael Muller 2021-03-10 17:24:23 -05:00 committed by GitHub
parent bd0c2a2b21
commit 1d01fabb3c
8 changed files with 85 additions and 19 deletions

View file

@ -2198,7 +2198,7 @@ ALTER TABLE ONLY public."Host"
--
ALTER TABLE ONLY public."Host"
ADD CONSTRAINT fk_host_superordinate_domain FOREIGN KEY (superordinate_domain) REFERENCES public."Domain"(repo_id);
ADD CONSTRAINT fk_host_superordinate_domain FOREIGN KEY (superordinate_domain) REFERENCES public."Domain"(repo_id) DEFERRABLE INITIALLY DEFERRED;
--