egroupware/setup/sql/pgsql_droptables.inc.php
2001-05-03 04:59:00 +00:00

62 lines
2.9 KiB
PHP

<?php
/**************************************************************************\
* phpGroupWare - Setup *
* http://www.phpgroupware.org *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or");at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
// !! NOTE !! This should ONLY contain the current tables and sequences. Do NOT remove older tables
// That are no longer being used. People might have tables matching the same names in there installs.
$phpgw_setup->db->query("DROP TABLE phpgw_config");
$phpgw_setup->db->query("DROP TABLE phpgw_applications");
$phpgw_setup->db->query("DROP TABLE phpgw_accounts");
$phpgw_setup->db->query("drop sequence phpgw_accounts_account_id_seq");
$phpgw_setup->db->query("DROP TABLE phpgw_preferences");
$phpgw_setup->db->query("DROP TABLE phpgw_sessions");
$phpgw_setup->db->query("DROP TABLE phpgw_app_sessions");
$phpgw_setup->db->query("DROP TABLE phpgw_acl");
$phpgw_setup->db->query("DROP TABLE phpgw_access_log");
$phpgw_setup->db->query("DROP TABLE phpgw_categories");
$phpgw_setup->db->query("drop sequence phpgw_categories_cat_id_seq");
$phpgw_setup->db->query("DROP TABLE phpgw_hooks");
$phpgw_setup->db->query("drop sequence phpgw_hooks_hook_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 phpgw_addressbook_id_seq");
$phpgw_setup->db->query("DROP TABLE phpgw_cal_user");
$phpgw_setup->db->query("DROP TABLE phpgw_cal_repeats");
$phpgw_setup->db->query("DROP TABLE phpgw_cal_holidays");
$phpgw_setup->db->query("drop sequence phpgw_cal_holidays_hol_id_seq");
$phpgw_setup->db->query("drop sequence phpgw_cal_cal_id_seq");
$phpgw_setup->db->query("DROP TABLE phpgw_nextid");
$phpgw_setup->db->query("DROP TABLE phpgw_todo");
$phpgw_setup->db->query("DROP sequence phpgw_todo_todo_id_seq");
$phpgw_setup->db->query("DROP TABLE phpgw_cal");
$phpgw_setup->db->query("drop sequence newsgroups_con_seq");
$phpgw_setup->db->query("DROP TABLE newsgroups");
$phpgw_setup->db->query("DROP TABLE lang");
$phpgw_setup->db->query("drop sequence news_msg_con_seq");
$phpgw_setup->db->query("DROP TABLE news_msg");
$phpgw_setup->db->query("DROP TABLE languages");
$phpgw_setup->db->query("DROP TABLE phpgw_notes");
$phpgw_setup->db->query("DROP sequence phpgw_notes_note_id_seq");
?>