egroupware/setup/sql/pgsql_droptables.inc.php

45 lines
2.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
$db->query("DROP TABLE config");
$db->query("DROP TABLE applications");
$db->query("drop sequence accounts_account_id_seq");
$db->query("DROP TABLE accounts");
$db->query("drop sequence groups_group_id_seq");
$db->query("DROP TABLE groups");
$db->query("DROP TABLE preferences");
$db->query("DROP TABLE phpgw_sessions");
$db->query("DROP TABLE phpgw_app_sessions");
$db->query("DROP TABLE phpgw_acl");
$db->query("DROP TABLE phpgw_access_log");
2000-11-02 10:01:06 +01:00
$db->query("drop sequence profiles_con_seq");
$db->query("DROP TABLE profiles");
$db->query("drop sequence addressbook_ab_id_seq");
$db->query("DROP TABLE addressbook");
$db->query("drop sequence calendar_entry_cal_id_seq");
$db->query("drop sequence todo_todo_id_seq");
2000-11-02 10:01:06 +01:00
$db->query("DROP TABLE todo");
$db->query("DROP TABLE calendar_entry");
$db->query("DROP TABLE calendar_entry_user");
2000-12-15 08:17:56 +01:00
$db->query("DROP TABLE calendar_entry_repeats");
2000-11-02 10:01:06 +01:00
$db->query("drop sequence newsgroups_con_seq");
$db->query("DROP TABLE newsgroups");
$db->query("DROP TABLE lang");
$db->query("drop sequence news_msg_con_seq");
$db->query("DROP TABLE news_msg");
$db->query("DROP TABLE languages");
$db->query("drop sequence categories_cat_id_seq");
$db->query("DROP TABLE categories");
$db->query("DROP sequence notes_note_id_seq");
$db->query("DROP TABLE notes");
2000-11-02 10:01:06 +01:00
?>