DROP TABLE IF EXISTS `link_link`;
DROP TABLE IF EXISTS `link_category`;
DROP TABLE IF EXISTS `link_link_i18n`;
DROP TABLE IF EXISTS `link_category_i18n`;

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