Working on getting the postgresql tables to worl

This commit is contained in:
jengo 2000-10-05 21:05:21 +00:00
parent d3397d238e
commit 1914c9832d
2 changed files with 15 additions and 3 deletions

View File

@ -10,8 +10,6 @@
\**************************************************************************/
/* $Id$ */
$current_version = "0.9.1";
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "home", "noapi" => True);
include("../header.inc.php");
@ -36,7 +34,7 @@
echo "<title>phpGroupWare - setup</title>";
echo '<body bgcolor="FFFFFF">';
echo "<center>phpGroupWare version " . $current_version . " setup</center><p>";
echo "<center>phpGroupWare version " . $phpgw_info["server"]["version"] . " setup</center><p>";
if ($submit) {
$db->query("delete from config");

View File

@ -13,19 +13,33 @@
$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");