egroupware_official/setup/sql/pgsql_droptables.inc.php

80 lines
4.0 KiB
PHP
Raw Normal View History

2000-11-02 10:01:06 +01:00
<?php
/**************************************************************************\
2000-11-05 07:47:24 +01:00
* phpGroupWare - Setup *
2000-11-02 10:01:06 +01:00
* 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. *
\**************************************************************************/
2000-11-05 07:47:24 +01:00
/* $Id$ */
2000-11-02 10:01:06 +01:00
2001-02-10 05:50:21 +01:00
$phpgw_setup->db->query("DROP TABLE phpgw_config");
$phpgw_setup->db->query("DROP TABLE phpgw_applications");
$phpgw_setup->db->query("drop sequence phpgw_accounts_account_id_seq");
$phpgw_setup->db->query("DROP TABLE phpgw_accounts");
2001-02-10 05:50:21 +01:00
$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");
2001-02-10 05:50:21 +01:00
$phpgw_setup->db->query("drop sequence phpgw_categories_cat_id_seq");
$phpgw_setup->db->query("DROP TABLE phpgw_categories");
$phpgw_setup->db->query("drop sequence profiles_con_seq");
2001-02-10 05:50:21 +01:00
$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");
2001-04-27 05:25:39 +02:00
2001-04-04 03:51:23 +02:00
$phpgw_setup->db->query("DROP TABLE addressbook");
2001-04-04 03:52:18 +02:00
$phpgw_setup->db->query("drop sequence addressbook_id_seq");
2001-02-25 07:04:31 +01:00
$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");
2001-04-27 19:37:59 +02:00
$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 phpgw_cal_holidays");
2001-04-27 19:37:59 +02:00
$phpgw_setup->db->query("drop sequence phpgw_cal_cal_id_seq");
2001-04-27 05:25:39 +02:00
$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");
2001-04-27 05:25:39 +02:00
$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");
2001-04-27 05:25:39 +02:00
$phpgw_setup->db->query("DROP sequence phpgw_cal_id_seq");
$phpgw_setup->db->query("drop sequence calendar_entry_cal_id_seq");
2001-04-27 19:37:59 +02:00
$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");
2001-02-26 20:26:27 +01:00
$phpgw_setup->db->query("drop sequence categories_cat_id_seq");
$phpgw_setup->db->query("DROP TABLE categories");
$phpgw_setup->db->query("DROP sequence phpgw_notes_note_id_seq");
$phpgw_setup->db->query("DROP TABLE phpgw_notes");
$phpgw_setup->db->query("DROP TABLE config");
$phpgw_setup->db->query("DROP TABLE applications");
$phpgw_setup->db->query("drop sequence groups_group_id_seq");
$phpgw_setup->db->query("DROP TABLE groups");
$phpgw_setup->db->query("drop sequence accounts_account_id_seq");
$phpgw_setup->db->query("DROP TABLE accounts");
$phpgw_setup->db->query("DROP TABLE preferences");
$phpgw_setup->db->query("DROP sequence notes_note_id_seq");
$phpgw_setup->db->query("DROP TABLE notes");
2001-02-10 05:50:21 +01:00
?>