From c1f8c7d7dfb10e09becec7a9c674d3ebea757515 Mon Sep 17 00:00:00 2001 From: jengo Date: Mon, 5 Feb 2001 16:43:46 +0000 Subject: [PATCH] Added the phpgw_accounts to the drop tables scripts and fixed ANOTHER typo --- setup/sql/mysql_droptables.inc.php | 2 +- setup/sql/pgsql_droptables.inc.php | 4 ++-- setup/sql/pgsql_upgrade_beta.inc.php | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/setup/sql/mysql_droptables.inc.php b/setup/sql/mysql_droptables.inc.php index f9e079686d..e0c410fba7 100644 --- a/setup/sql/mysql_droptables.inc.php +++ b/setup/sql/mysql_droptables.inc.php @@ -13,7 +13,7 @@ $phpgw_setup->db->query("DROP TABLE config"); $phpgw_setup->db->query("DROP TABLE applications"); - $phpgw_setup->db->query("DROP TABLE accounts"); + $phpgw_setup->db->query("DROP TABLE phpgw_accounts"); $phpgw_setup->db->query("DROP TABLE groups"); $phpgw_setup->db->query("DROP TABLE preferences"); $phpgw_setup->db->query("DROP TABLE phpgw_sessions"); diff --git a/setup/sql/pgsql_droptables.inc.php b/setup/sql/pgsql_droptables.inc.php index 3a67037af0..331d0d3051 100644 --- a/setup/sql/pgsql_droptables.inc.php +++ b/setup/sql/pgsql_droptables.inc.php @@ -13,8 +13,8 @@ $phpgw_setup->db->query("DROP TABLE config"); $phpgw_setup->db->query("DROP TABLE applications"); - $phpgw_setup->db->query("drop sequence accounts_account_id_seq"); - $phpgw_setup->db->query("DROP TABLE accounts"); + $phpgw_setup->db->query("drop sequence phpgw_accounts_account_id_seq"); + $phpgw_setup->db->query("DROP TABLE phpgw_accounts"); $phpgw_setup->db->query("drop sequence groups_group_id_seq"); $phpgw_setup->db->query("DROP TABLE groups"); $phpgw_setup->db->query("DROP TABLE preferences"); diff --git a/setup/sql/pgsql_upgrade_beta.inc.php b/setup/sql/pgsql_upgrade_beta.inc.php index 5d87c7a832..680f1fa4e5 100644 --- a/setup/sql/pgsql_upgrade_beta.inc.php +++ b/setup/sql/pgsql_upgrade_beta.inc.php @@ -921,6 +921,7 @@ $phpgw_setup->db->query("insert into phpgw_accounts select * from phpgw_temp",__LINE__,__FILE__); $phpgw_setup->db->query("drop table phpgw_temp",__LINE__,__FILE__); + $phpgw_setup->db->query("drop sequence acccount_account_id_seq"); $phpgw_setup->db->query("alter table accounts rename phpgw_accounts",__LINE__,__FILE__); $phpgw_info["setup"]["currentver"]["phpgwapi"] = "0.9.10pre4";