fixed new install

This commit is contained in:
seek3r
2001-02-10 04:50:21 +00:00
parent f883269cfc
commit 2aea2d586c
8 changed files with 150 additions and 109 deletions

View File

@ -31,7 +31,7 @@
$phpgw_setup->db->query($sql);
$sql = "create table accounts (
$sql = "create table phpgw_accounts (
account_id serial,
account_lid varchar(25) NOT NULL,
account_pwd char(32) NOT NULL,
@ -46,13 +46,18 @@
)";
$phpgw_setup->db->query($sql);
$sql = "create table groups (
group_id serial,
group_name varchar(50),
group_apps varchar(255)
$sql = "create table preferences (
preference_owner int,
preference_value text
)";
$phpgw_setup->db->query($sql);
$sql = "create table phpgw_preferences (
preference_owner int,
preference_value text
)";
$phpgw_setup->db->query($sql);
$sql = "create table phpgw_sessions (
session_id varchar(255),
session_lid varchar(255),
@ -91,12 +96,6 @@
)";
$phpgw_setup->db->query($sql);
$sql = "create table preferences (
preference_owner int,
preference_value text
)";
$phpgw_setup->db->query($sql);
$sql = "CREATE TABLE profiles (
con serial,
owner varchar(20),