ALTER TABLE photoGalleryPhotos
    ADD CONSTRAINT fk_photoGalleryPhotos_photoGallery
    FOREIGN KEY (photoGalleryID)
    REFERENCES photoGalleries(photoGalleryID)
    ON DELETE CASCADE
    ON UPDATE CASCADE;

