DROP TABLE IF EXISTS `photogallery_galleries`;

DROP TABLE IF EXISTS `photogallery_images`;

DELETE page_pages,page_pages_i18n FROM page_pages, page_pages_i18n WHERE page_pages.route = "photogallery" AND page_pages.id = page_pages_i18n.id;
	