修復 GalleryCategory <=> Gallery, Gallery <=> Photo 之間的關聯問題 #30

修復 GalleryCategory <=> Gallery, Gallery <=> Photo 之間的關聯問題 #30