egroupware/setup/droptables_pgsql.inc.php

47 lines
1.7 KiB
PHP

<?php
/**************************************************************************\
* phpGroupWare *
* 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$ */
$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 sessions");
$db->query("DROP TABLE app_sessions");
$db->query("DROP TABLE access_log");
$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 webcal_entry_cal_id_seq");
$db->query("DROP TABLE todo");
$db->query("DROP TABLE webcal_entry");
$db->query("DROP TABLE webcal_entry_repeats");
$db->query("DROP TABLE webcal_entry_user");
$db->query("DROP TABLE webcal_entry_groups");
$db->query("drop sequence newsgroups_con_seq");
$db->query("DROP TABLE newsgroups");
$db->query("DROP TABLE users_newsgroups");
$db->query("DROP TABLE lang");
?>