See https://stackoverflow.com/questions/38999557/is-it-possible-to-use-deletecascade-with-esqueleto?noredirect=1#comment65358492_38999557 Is there a way to use deleteCascade/deleteCascadeWhere with esqueleto?