ALTER TABLE tankFilters
    ADD CONSTRAINT fk_tankFilters_tank
    FOREIGN KEY (tankID)
    REFERENCES tanks(tankID)
    ON DELETE CASCADE
    ON UPDATE CASCADE;

ALTER TABLE tankFilters
    ADD CONSTRAINT fk_tankFilters_filter
    FOREIGN KEY (filterID)
    REFERENCES filters(filterID)
    ON DELETE CASCADE
    ON UPDATE CASCADE;
