uninstall.sql 328 B

1234567891011
  1. SET @sName = 'bx_mapshow';;
  2. -- TABLES
  3. DROP TABLE IF EXISTS `bx_mapshow_accounts`;
  4. -- STUDIO WIDGET
  5. DELETE FROM `tp`, `tw`, `tpw`
  6. USING `sys_std_pages` AS `tp`, `sys_std_widgets` AS `tw`, `sys_std_pages_widgets` AS `tpw`
  7. WHERE `tp`.`id` = `tw`.`page_id` AND `tw`.`id` = `tpw`.`widget_id` AND `tp`.`name` = @sName;