From dce1ad12c8e8203a198134ad10aa5cc126362826 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Fri, 27 Apr 2001 03:25:39 +0000 Subject: [PATCH] Update list of tables --- setup/sql/mysql_droptables.inc.php | 13 ++++++++++--- setup/sql/pgsql_droptables.inc.php | 14 +++++++++++++- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/setup/sql/mysql_droptables.inc.php b/setup/sql/mysql_droptables.inc.php index 64ae55fb2b..ebbb995706 100644 --- a/setup/sql/mysql_droptables.inc.php +++ b/setup/sql/mysql_droptables.inc.php @@ -25,9 +25,6 @@ $phpgw_setup->db->query("DROP TABLE phpgw_addressbook"); $phpgw_setup->db->query("DROP TABLE phpgw_addressbook_extra"); $phpgw_setup->db->query("DROP TABLE phpgw_todo"); - $phpgw_setup->db->query("DROP TABLE calendar_entry"); - $phpgw_setup->db->query("DROP TABLE calendar_entry_repeats"); - $phpgw_setup->db->query("DROP TABLE calendar_entry_user"); $phpgw_setup->db->query("DROP TABLE newsgroups"); $phpgw_setup->db->query("DROP TABLE news_msg"); $phpgw_setup->db->query("DROP TABLE lang"); @@ -37,6 +34,16 @@ $phpgw_setup->db->query("DROP TABLE phpgw_notes"); $phpgw_setup->db->query("DROP TABLE phpgw_nextid"); + $phpgw_setup->db->query("DROP TABLE phpgw_cal"); + $phpgw_setup->db->query("DROP TABLE phpgw_cal_user"); + $phpgw_setup->db->query("DROP TABLE phpgw_cal_repeats"); + $phpgw_setup->db->query("DROP TABLE calendar_entry"); + $phpgw_setup->db->query("DROP TABLE calendar_entry_user"); + $phpgw_setup->db->query("DROP TABLE calendar_entry_repeats"); + $phpgw_setup->db->query("DROP TABLE calendar_entry"); + $phpgw_setup->db->query("DROP TABLE calendar_entry_repeats"); + $phpgw_setup->db->query("DROP TABLE calendar_entry_user"); + /* Legacy tables */ $phpgw_setup->db->query("DROP TABLE config"); diff --git a/setup/sql/pgsql_droptables.inc.php b/setup/sql/pgsql_droptables.inc.php index ac711b2ff7..37066e26c2 100644 --- a/setup/sql/pgsql_droptables.inc.php +++ b/setup/sql/pgsql_droptables.inc.php @@ -26,18 +26,30 @@ $phpgw_setup->db->query("drop sequence phpgw_hooks_hook_id_seq"); $phpgw_setup->db->query("DROP TABLE phpgw_hooks"); $phpgw_setup->db->query("DROP TABLE profiles"); + $phpgw_setup->db->query("DROP TABLE addressbook"); $phpgw_setup->db->query("drop sequence addressbook_id_seq"); $phpgw_setup->db->query("drop sequence phpgw_addressbook_id_seq"); $phpgw_setup->db->query("DROP TABLE phpgw_addressbook"); $phpgw_setup->db->query("DROP TABLE phpgw_addressbook_extra"); - $phpgw_setup->db->query("drop sequence calendar_entry_cal_id_seq"); + + $phpgw_setup->db->query("DROP TABLE phpgw_nextid"); + $phpgw_setup->db->query("drop sequence todo_todo_id_seq"); $phpgw_setup->db->query("DROP TABLE todo"); $phpgw_setup->db->query("DROP TABLE phpgw_todo"); + $phpgw_setup->db->query("DROP sequence phpgw_todo_id_seq"); + $phpgw_setup->db->query("DROP sequence phpgw_todo_todo_id_seq"); + + $phpgw_setup->db->query("DROP TABLE phpgw_cal"); + $phpgw_setup->db->query("DROP TABLE phpgw_cal_user"); + $phpgw_setup->db->query("DROP TABLE phpgw_cal_repeats"); $phpgw_setup->db->query("DROP TABLE calendar_entry"); $phpgw_setup->db->query("DROP TABLE calendar_entry_user"); $phpgw_setup->db->query("DROP TABLE calendar_entry_repeats"); + $phpgw_setup->db->query("DROP sequence phpgw_cal_id_seq"); + $phpgw_setup->db->query("drop sequence calendar_entry_cal_id_seq"); + $phpgw_setup->db->query("drop sequence newsgroups_con_seq"); $phpgw_setup->db->query("DROP TABLE newsgroups"); $phpgw_setup->db->query("DROP TABLE lang");