mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
removed dirs that didnt belong
This commit is contained in:
parent
5ed998131e
commit
15e5817ee5
@ -1,239 +0,0 @@
|
|||||||
# $Id$
|
|
||||||
|
|
||||||
CREATE TABLE config (
|
|
||||||
config_name varchar(25) NOT NULL,
|
|
||||||
config_value varchar(100),
|
|
||||||
UNIQUE config_name (config_name)
|
|
||||||
);
|
|
||||||
|
|
||||||
insert into config (config_name, config_value) values ('default_tplset', 'default');
|
|
||||||
insert into config (config_name, config_value) values ('temp_dir', '/path/to/tmp');
|
|
||||||
insert into config (config_name, config_value) values ('files_dir', '/path/to/dir/phpgroupware/files');
|
|
||||||
insert into config (config_name, config_value) values ('encryptkey', 'change this phrase 2 something else');
|
|
||||||
insert into config (config_name, config_value) values ('site_title', 'phpGroupWare');
|
|
||||||
insert into config (config_name, config_value) values ('hostname', 'local.machine.name');
|
|
||||||
insert into config (config_name, config_value) values ('webserver_url', '/phpgroupware');
|
|
||||||
insert into config (config_name, config_value) values ('auth_type', 'sql');
|
|
||||||
insert into config (config_name, config_value) values ('ldap_host', 'localhost');
|
|
||||||
insert into config (config_name, config_value) values ('ldap_context', 'o=phpGroupWare');
|
|
||||||
insert into config (config_name, config_value) values ('usecookies', 'True');
|
|
||||||
insert into config (config_name, config_value) values ('mail_server', 'localhost');
|
|
||||||
insert into config (config_name, config_value) values ('mail_server_type', 'imap');
|
|
||||||
insert into config (config_name, config_value) values ('imap_server_type', 'Cyrus');
|
|
||||||
insert into config (config_name, config_value) values ('mail_suffix', 'yourdomain.com');
|
|
||||||
insert into config (config_name, config_value) values ('mail_login_type', 'standard');
|
|
||||||
insert into config (config_name, config_value) values ('smtp_server', 'localhost');
|
|
||||||
insert into config (config_name, config_value) values ('smtp_port', '25');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_server', 'yournewsserver.com');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_port', '119');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_sender', 'complaints@yourserver.com');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_organization', 'phpGroupWare');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_admin', 'admin@yourserver.com');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_login_username', '');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_login_password', '');
|
|
||||||
insert into config (config_name, config_value) values ('charset', 'iso-8859-1');
|
|
||||||
insert into config (config_name, config_value) values ('default_ftp_server', 'localhost');
|
|
||||||
insert into config (config_name, config_value) values ('httpproxy_server', '');
|
|
||||||
insert into config (config_name, config_value) values ('httpproxy_port', '');
|
|
||||||
insert into config (config_name, config_value) values ('showpoweredbyon', 'bottom');
|
|
||||||
insert into config (config_name, config_value) values ('checkfornewversion', 'False');
|
|
||||||
|
|
||||||
CREATE TABLE applications (
|
|
||||||
app_name varchar(25) NOT NULL,
|
|
||||||
app_title varchar(50),
|
|
||||||
app_enabled int,
|
|
||||||
app_order int,
|
|
||||||
app_tables varchar(255),
|
|
||||||
UNIQUE app_name (app_name)
|
|
||||||
);
|
|
||||||
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('admin', 'Administration', 1, 1, NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('tts', 'Trouble Ticket System', 0, 2, NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('inv', 'Inventory', 0, 3, NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('chat', 'Chat', 0, 4, NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('headlines', 'Headlines', 0, 5, 'news_sites,news_headlines,users_headlines');
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('filemanager', 'File manager', 1, 6, NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('addressbook', 'Address Book', 1, 7, 'addressbook');
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('todo', 'ToDo List', 1, 8, 'todo');
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('calendar', 'Calendar', 1, 9, 'webcal_entry,webcal_entry_users,webcal_entry_groups,webcal_repeats');
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('email', 'Email', 1, 10,NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('nntp', 'NNTP', 1, 11, 'newsgroups,users_newsgroups');
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('cron_apps', 'cron_apps', 0, 0, NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('transy', 'Translation Manager', 0, 12, NULL);
|
|
||||||
|
|
||||||
CREATE TABLE accounts (
|
|
||||||
account_id int(11) DEFAULT '0' NOT NULL auto_increment,
|
|
||||||
account_lid varchar(25) NOT NULL,
|
|
||||||
account_pwd varchar(32) NOT NULL,
|
|
||||||
account_firstname varchar(50),
|
|
||||||
account_lastname varchar(50),
|
|
||||||
account_permissions text,
|
|
||||||
account_groups varchar(30),
|
|
||||||
account_lastlogin int(11),
|
|
||||||
account_lastloginfrom varchar(255),
|
|
||||||
account_lastpwd_change int(11),
|
|
||||||
account_status enum('A','L') DEFAULT 'A' NOT NULL,
|
|
||||||
PRIMARY KEY (account_id),
|
|
||||||
UNIQUE account_lid (account_lid)
|
|
||||||
);
|
|
||||||
|
|
||||||
insert into accounts (account_lid,account_pwd,account_firstname,account_lastname,account_permissions,
|
|
||||||
account_groups,account_status) values ('demo','81dc9bdb52d04dc20036dbd8313ed055','Demo','Account',
|
|
||||||
':admin:email:todo:addressbook:calendar:',',1,','A');
|
|
||||||
|
|
||||||
create table groups (
|
|
||||||
group_id int NOT NULL auto_increment,
|
|
||||||
group_name varchar(255),
|
|
||||||
group_apps varchar(255),
|
|
||||||
primary key(group_id)
|
|
||||||
);
|
|
||||||
|
|
||||||
insert into groups (group_name) values ('Default');
|
|
||||||
|
|
||||||
CREATE TABLE preferences (
|
|
||||||
preference_owner varchar(20),
|
|
||||||
preference_name varchar(50),
|
|
||||||
preference_value varchar(50),
|
|
||||||
preference_appname varchar(50)
|
|
||||||
);
|
|
||||||
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','maxmatchs','10','common');
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','mainscreen_showbirthdays','True','common');
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','mainscreen_showevents','True','common');
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','timeformat','12','common');
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','dateformat','m/d/Y','common');
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','theme','default','common');
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','tz_offset','0','common');
|
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE sessions (
|
|
||||||
session_id varchar(255) NOT NULL,
|
|
||||||
session_lid varchar(20),
|
|
||||||
session_pwd varchar(255),
|
|
||||||
session_ip varchar(255),
|
|
||||||
session_logintime int(11),
|
|
||||||
session_dla int(11),
|
|
||||||
UNIQUE sessionid (session_id)
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE app_sessions (
|
|
||||||
sessionid varchar(255) NOT NULL,
|
|
||||||
loginid varchar(20),
|
|
||||||
app varchar(20),
|
|
||||||
content text
|
|
||||||
);
|
|
||||||
|
|
||||||
create table access_log (
|
|
||||||
sessionid varchar(30),
|
|
||||||
loginid varchar(30),
|
|
||||||
ip varchar(30),
|
|
||||||
li int,
|
|
||||||
lo int
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE profiles (
|
|
||||||
con int(11) DEFAULT '0' NOT NULL auto_increment,
|
|
||||||
owner varchar(20),
|
|
||||||
title varchar(255),
|
|
||||||
phone_number varchar(255),
|
|
||||||
comments text,
|
|
||||||
picture_format varchar(255),
|
|
||||||
picture blob,
|
|
||||||
PRIMARY KEY (con)
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE addressbook (
|
|
||||||
ab_id int(11) DEFAULT '0' NOT NULL auto_increment,
|
|
||||||
ab_owner varchar(25),
|
|
||||||
ab_access varchar(10),
|
|
||||||
ab_firstname varchar(255),
|
|
||||||
ab_lastname varchar(255),
|
|
||||||
ab_email varchar(255),
|
|
||||||
ab_hphone varchar(255),
|
|
||||||
ab_wphone varchar(255),
|
|
||||||
ab_fax varchar(255),
|
|
||||||
ab_pager varchar(255),
|
|
||||||
ab_mphone varchar(255),
|
|
||||||
ab_ophone varchar(255),
|
|
||||||
ab_street varchar(255),
|
|
||||||
ab_city varchar(255),
|
|
||||||
ab_state varchar(255),
|
|
||||||
ab_zip varchar(255),
|
|
||||||
ab_bday varchar(255),
|
|
||||||
ab_notes text,
|
|
||||||
ab_company varchar(255),
|
|
||||||
PRIMARY KEY (ab_id)
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE todo (
|
|
||||||
todo_id int(11) DEFAULT '0' NOT NULL auto_increment,
|
|
||||||
todo_owner varchar(25),
|
|
||||||
todo_access varchar(10),
|
|
||||||
todo_des text,
|
|
||||||
todo_pri int(11),
|
|
||||||
todo_status int(11),
|
|
||||||
todo_datecreated int(11),
|
|
||||||
todo_datedue int(11),
|
|
||||||
PRIMARY KEY (todo_id)
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE webcal_entry (
|
|
||||||
cal_id int(11) DEFAULT '0' NOT NULL auto_increment,
|
|
||||||
cal_group_id int(11),
|
|
||||||
cal_create_by varchar(25) NOT NULL,
|
|
||||||
cal_date int(11) DEFAULT '0' NOT NULL,
|
|
||||||
cal_time int(11),
|
|
||||||
cal_mod_date int(11),
|
|
||||||
cal_mod_time int(11),
|
|
||||||
cal_duration int(11) DEFAULT '0' NOT NULL,
|
|
||||||
cal_priority int(11) DEFAULT '2',
|
|
||||||
cal_type varchar(10),
|
|
||||||
cal_access char(10),
|
|
||||||
cal_name varchar(80) NOT NULL,
|
|
||||||
cal_description text,
|
|
||||||
PRIMARY KEY (cal_id)
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE webcal_entry_repeats (
|
|
||||||
cal_id int(11) DEFAULT '0' NOT NULL,
|
|
||||||
cal_type enum('daily','weekly','monthlyByDay','monthlyByDate','yearly') DEFAULT 'daily' NOT NULL,
|
|
||||||
cal_end int(11),
|
|
||||||
cal_frequency int(11) DEFAULT '1',
|
|
||||||
cal_days char(7)
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE webcal_entry_user (
|
|
||||||
cal_id int(11) DEFAULT '0' NOT NULL,
|
|
||||||
cal_login varchar(25) NOT NULL,
|
|
||||||
cal_status char(1) DEFAULT 'A',
|
|
||||||
PRIMARY KEY (cal_id, cal_login)
|
|
||||||
);
|
|
||||||
|
|
||||||
create table webcal_entry_groups (
|
|
||||||
cal_id int,
|
|
||||||
groups varchar(255)
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE newsgroups (
|
|
||||||
con int(11) NOT NULL auto_increment,
|
|
||||||
name varchar(255) NOT NULL,
|
|
||||||
messagecount int(11) NOT NULL,
|
|
||||||
lastmessage int(11) NOT NULL,
|
|
||||||
active char DEFAULT 'N' NOT NULL,
|
|
||||||
lastread int(11),
|
|
||||||
PRIMARY KEY (con),
|
|
||||||
UNIQUE name (name)
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE users_newsgroups (
|
|
||||||
owner int(11) NOT NULL,
|
|
||||||
newsgroup int(11) NOT NULL
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE lang (
|
|
||||||
message_id varchar(150) DEFAULT '' NOT NULL,
|
|
||||||
app_name varchar(100) DEFAULT 'common' NOT NULL,
|
|
||||||
lang varchar(5) DEFAULT '' NOT NULL,
|
|
||||||
content text NOT NULL,
|
|
||||||
PRIMARY KEY (message_id,app_name,lang)
|
|
||||||
);
|
|
@ -1,230 +0,0 @@
|
|||||||
CREATE TABLE config (
|
|
||||||
config_name varchar(25),
|
|
||||||
config_value varchar(100),
|
|
||||||
UNIQUE (config_name)
|
|
||||||
);
|
|
||||||
|
|
||||||
insert into config (config_name, config_value) values ('default_tplset', 'default');
|
|
||||||
insert into config (config_name, config_value) values ('temp_dir', '/path/to/tmp');
|
|
||||||
insert into config (config_name, config_value) values ('files_dir', '/path/to/dir/phpgroupware/files');
|
|
||||||
insert into config (config_name, config_value) values ('encryptkey', 'change this phrase 2 something else');
|
|
||||||
insert into config (config_name, config_value) values ('site_title', 'phpGroupWare');
|
|
||||||
insert into config (config_name, config_value) values ('hostname', 'local.machine.name');
|
|
||||||
insert into config (config_name, config_value) values ('webserver_url', '/phpgroupware');
|
|
||||||
insert into config (config_name, config_value) values ('auth_type', 'sql');
|
|
||||||
insert into config (config_name, config_value) values ('ldap_host', 'localhost');
|
|
||||||
insert into config (config_name, config_value) values ('ldap_context', 'o=phpGroupWare');
|
|
||||||
insert into config (config_name, config_value) values ('usecookies', 'True');
|
|
||||||
insert into config (config_name, config_value) values ('mail_server', 'localhost');
|
|
||||||
insert into config (config_name, config_value) values ('mail_server_type', 'imap');
|
|
||||||
insert into config (config_name, config_value) values ('imap_server_type', 'Cyrus');
|
|
||||||
insert into config (config_name, config_value) values ('mail_suffix', 'yourdomain.com');
|
|
||||||
insert into config (config_name, config_value) values ('mail_login_type', 'standard');
|
|
||||||
insert into config (config_name, config_value) values ('smtp_server', 'localhost');
|
|
||||||
insert into config (config_name, config_value) values ('smtp_port', '25');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_server', 'yournewsserver.com');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_port', '119');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_sender', 'complaints@yourserver.com');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_organization', 'phpGroupWare');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_admin', 'admin@yourserver.com');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_login_username', '');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_login_password', '');
|
|
||||||
insert into config (config_name, config_value) values ('charset', 'iso-8859-1');
|
|
||||||
insert into config (config_name, config_value) values ('default_ftp_server', 'localhost');
|
|
||||||
insert into config (config_name, config_value) values ('httpproxy_server', '');
|
|
||||||
insert into config (config_name, config_value) values ('httpproxy_port', '');
|
|
||||||
insert into config (config_name, config_value) values ('showpoweredbyon', 'bottom');
|
|
||||||
insert into config (config_name, config_value) values ('checkfornewversion', 'False');
|
|
||||||
|
|
||||||
create table applications (
|
|
||||||
app_name varchar(25) NOT NULL,
|
|
||||||
app_title varchar(50),
|
|
||||||
app_enabled int,
|
|
||||||
app_order int,
|
|
||||||
app_tables varchar(255),
|
|
||||||
unique(app_name)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('admin', 'Administration', 1, 1, NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('tts', 'Trouble Ticket System', 0, 2, NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('inv', 'Inventory', 0, 3, NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('chat', 'Chat', 0, 4, NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('headlines', 'Headlines', 0, 5, 'news_sites,news_headlines,users_headlines');
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('filemanager', 'File manager', 1, 6, NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('addressbook', 'Address Book', 1, 7, 'addressbook');
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('todo', 'ToDo List', 1, 8, 'todo');
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('calendar', 'Calendar', 1, 9, 'webcal_entry,webcal_entry_users,webcal_entry_groups,webcal_repeats');
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('email', 'Email', 1, 10,NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('nntp', 'NNTP', 1, 11, 'newsgroups,users_newsgroups');
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('cron_apps', 'cron_apps', 0, 0, NULL);
|
|
||||||
insert into applications (app_name, app_title, app_enabled, app_order, app_tables) values ('transy', 'Translation Manager', 0, 12, NULL);
|
|
||||||
|
|
||||||
create table accounts (
|
|
||||||
account_id serial,
|
|
||||||
account_lid varchar(25) NOT NULL,
|
|
||||||
account_pwd char(32) NOT NULL,
|
|
||||||
account_firstname varchar(50),
|
|
||||||
account_lastname varchar(50),
|
|
||||||
account_permissions text,
|
|
||||||
account_groups varchar(30),
|
|
||||||
account_lastlogin int,
|
|
||||||
account_lastloginfrom varchar(255),
|
|
||||||
account_lastpwd_change int,
|
|
||||||
account_status char(1),
|
|
||||||
unique(account_lid)
|
|
||||||
);
|
|
||||||
|
|
||||||
insert into accounts (account_lid,account_pwd,account_firstname,account_lastname,account_permissions,
|
|
||||||
account_groups,account_status) values ('demo','81dc9bdb52d04dc20036dbd8313ed055','Demo','Account',
|
|
||||||
':admin:email:todo:addressbook:calendar:',',1,','A');
|
|
||||||
|
|
||||||
create table groups (
|
|
||||||
group_id serial,
|
|
||||||
group_name varchar(50),
|
|
||||||
group_apps varchar(255)
|
|
||||||
);
|
|
||||||
|
|
||||||
insert into groups (group_name) values ('Default');
|
|
||||||
|
|
||||||
create table sessions (
|
|
||||||
session_id varchar(255),
|
|
||||||
session_lid varchar(20),
|
|
||||||
session_pwd varchar(255),
|
|
||||||
session_ip varchar(255),
|
|
||||||
session_logintime int,
|
|
||||||
session_dla int,
|
|
||||||
unique(session_id)
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE app_sessions (
|
|
||||||
sessionid varchar(255) NOT NULL,
|
|
||||||
loginid varchar(20),
|
|
||||||
app varchar(20),
|
|
||||||
content text
|
|
||||||
);
|
|
||||||
|
|
||||||
create table preferences (
|
|
||||||
preference_owner varchar(20),
|
|
||||||
preference_name varchar(50),
|
|
||||||
preference_value varchar(50),
|
|
||||||
preference_appname varchar(50)
|
|
||||||
);
|
|
||||||
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','maxmatchs','10','common');
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','mainscreen_showbirthdays','True','common');
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','mainscreen_showevents','True','common');
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','timeformat','12','common');
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','dateformat','m/d/Y','common');
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','theme','default','common');
|
|
||||||
insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','tz_offset','0','common');
|
|
||||||
|
|
||||||
create table access_log (
|
|
||||||
sessionid varchar(30),
|
|
||||||
loginid varchar(30),
|
|
||||||
ip varchar(30),
|
|
||||||
li int,
|
|
||||||
lo int
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE profiles (
|
|
||||||
con serial,
|
|
||||||
owner varchar(20),
|
|
||||||
title varchar(255),
|
|
||||||
phone_number varchar(255),
|
|
||||||
comments text,
|
|
||||||
picture_format varchar(255),
|
|
||||||
picture text
|
|
||||||
);
|
|
||||||
|
|
||||||
create table addressbook (
|
|
||||||
ab_id serial,
|
|
||||||
ab_owner varchar(25),
|
|
||||||
ab_access varchar(10),
|
|
||||||
ab_firstname varchar(255),
|
|
||||||
ab_lastname varchar(255),
|
|
||||||
ab_email varchar(255),
|
|
||||||
ab_hphone varchar(255),
|
|
||||||
ab_wphone varchar(255),
|
|
||||||
ab_fax varchar(255),
|
|
||||||
ab_pager varchar(255),
|
|
||||||
ab_mphone varchar(255),
|
|
||||||
ab_ophone varchar(255),
|
|
||||||
ab_street varchar(255),
|
|
||||||
ab_city varchar(255),
|
|
||||||
ab_state varchar(255),
|
|
||||||
ab_zip varchar(255),
|
|
||||||
ab_bday varchar(255),
|
|
||||||
ab_notes TEXT,
|
|
||||||
ab_company varchar(255)
|
|
||||||
);
|
|
||||||
|
|
||||||
create table todo (
|
|
||||||
todo_id serial,
|
|
||||||
todo_owner varchar(25),
|
|
||||||
todo_access varchar(10),
|
|
||||||
todo_des text,
|
|
||||||
todo_pri int,
|
|
||||||
todo_status int,
|
|
||||||
todo_datecreated int,
|
|
||||||
todo_datedue int
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE webcal_entry (
|
|
||||||
cal_id serial,
|
|
||||||
cal_group_id int NULL,
|
|
||||||
cal_create_by varchar(25) NOT NULL,
|
|
||||||
cal_date int NOT NULL,
|
|
||||||
cal_time int NULL,
|
|
||||||
cal_mod_date int,
|
|
||||||
cal_mod_time int,
|
|
||||||
cal_duration int NOT NULL,
|
|
||||||
cal_priority int DEFAULT 2,
|
|
||||||
cal_type varchar(10),
|
|
||||||
cal_access varchar(10),
|
|
||||||
cal_name varchar(80) NOT NULL,
|
|
||||||
cal_description TEXT
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE webcal_entry_user (
|
|
||||||
cal_id int,
|
|
||||||
cal_login varchar(25) NOT NULL,
|
|
||||||
cal_status char(1) DEFAULT 'A'
|
|
||||||
);
|
|
||||||
|
|
||||||
create table webcal_entry_repeats (
|
|
||||||
cal_id int,
|
|
||||||
cal_type varchar(20),
|
|
||||||
cal_end int,
|
|
||||||
cal_frequency int default 1,
|
|
||||||
cal_days char(7)
|
|
||||||
);
|
|
||||||
|
|
||||||
create table webcal_entry_groups (
|
|
||||||
cal_id int,
|
|
||||||
groups varchar(255)
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE newsgroups (
|
|
||||||
con serial,
|
|
||||||
name varchar(255) NOT NULL,
|
|
||||||
messagecount int,
|
|
||||||
lastmessage int,
|
|
||||||
active char DEFAULT 'N' NOT NULL,
|
|
||||||
lastread int
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE users_newsgroups (
|
|
||||||
owner int,
|
|
||||||
newsgroup int
|
|
||||||
);
|
|
||||||
|
|
||||||
CREATE TABLE lang (
|
|
||||||
message_id varchar(150) DEFAULT '' NOT NULL,
|
|
||||||
app_name varchar(100) DEFAULT 'common' NOT NULL,
|
|
||||||
lang varchar(5) DEFAULT '' NOT NULL,
|
|
||||||
content text NOT NULL,
|
|
||||||
unique(message_id,app_name,lang)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
|||||||
# $Id$
|
|
||||||
|
|
||||||
CREATE TABLE applications (
|
|
||||||
app_name varchar(25) NOT NULL,
|
|
||||||
app_title varchar(50),
|
|
||||||
app_enabled int,
|
|
||||||
UNIQUE app_name (app_name)
|
|
||||||
);
|
|
||||||
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('admin', 'Administration', 1);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('tts', 'Trouble Ticket System', 1);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('inv', 'Inventory', 1);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('chat', 'Chat', 1);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('headlines', 'Headlines', 1);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('filemanager', 'File manager', 1);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('ftp', 'FTP', 1);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('addressbook', 'Address Book', 1);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('todo', 'ToDo List', 1);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('calendar', 'Calendar', 1);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('email', 'Email', 1);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('nntp', 'NNTP', 1);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('bookmarks', 'Bookmarks', 0);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('cron_apps', 'cron_apps', 0);
|
|
||||||
insert into applications (app_name, app_title, app_enabled) values ('napster', 'Napster', 0);
|
|
||||||
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
alter table chat_channel change name name varchar(10) not null;
|
|
||||||
alter table chat_messages change channel channel char(20) not null;
|
|
||||||
alter table chat_messages change loginid loginid varchar(20) not null;
|
|
||||||
alter table chat_currentin change loginid loginid varchar(25) not null;
|
|
||||||
alter table chat_currentin change channel channel char(20);
|
|
||||||
alter table chat_privatechat change user1 user1 varchar(25) not null;
|
|
||||||
alter table chat_privatechat change user2 user2 varchar(25) not null;
|
|
||||||
|
|
@ -1,77 +0,0 @@
|
|||||||
alter table accounts change con account_id int(11) DEFAULT '0' NOT NULL auto_increment;
|
|
||||||
alter table accounts change loginid account_lid varchar(25) NOT NULL;
|
|
||||||
alter table accounts change passwd account_pwd varchar(32) NOT NULL;
|
|
||||||
alter table accounts change firstname account_firstname varchar(50);
|
|
||||||
alter table accounts change lastname account_lastname varchar(50);
|
|
||||||
alter table accounts change permissions account_permissions text;
|
|
||||||
alter table accounts change groups account_groups varchar(30);
|
|
||||||
alter table accounts change lastlogin account_lastlogin int(11);
|
|
||||||
alter table accounts change lastloginfrom account_lastloginfrom varchar(255);
|
|
||||||
alter table accounts change lastpasswd_change account_lastpwd_change int(11);
|
|
||||||
alter table accounts change status account_status enum('A','L') DEFAULT 'A' NOT NULL;
|
|
||||||
alter table applications add app_order int;
|
|
||||||
alter table applications add app_tables varchar(255);
|
|
||||||
alter table preferences change owner preference_owner varchar(20);
|
|
||||||
alter table preferences change name preference_name varchar(50);
|
|
||||||
alter table preferences change value preference_value varchar(50);
|
|
||||||
alter table preferences add preference_appname varchar(50) default '';
|
|
||||||
alter table sessions change sessionid session_id varchar(255) NOT NULL;
|
|
||||||
alter table sessions change loginid session_lid varchar(20);
|
|
||||||
alter table sessions change passwd session_pwd varchar(255);
|
|
||||||
alter table sessions change ip session_ip varchar(255);
|
|
||||||
alter table sessions change logintime session_logintime int(11);
|
|
||||||
alter table sessions change dla session_dla int(11);
|
|
||||||
|
|
||||||
update applications set app_order=1,app_tables=NULL where app_name='admin';
|
|
||||||
update applications set app_order=2,app_tables=NULL where app_name='tts';
|
|
||||||
update applications set app_order=3,app_tables=NULL where app_name='inv';
|
|
||||||
update applications set app_order=4,app_tables=NULL where app_name='chat';
|
|
||||||
update applications set app_order=5,app_tables='news_sites,news_headlines,users_headlines' where app_name='headlines';
|
|
||||||
update applications set app_order=6,app_tables=NULL where app_name='filemanager';
|
|
||||||
update applications set app_order=7,app_tables='addressbook' where app_name='addressbook';
|
|
||||||
update applications set app_order=8,app_tables='todo' where app_name='todo';
|
|
||||||
update applications set app_order=9,app_tables='webcal_entry,webcal_entry_users,webcal_entry_groups,webcal_repeats' where app_name='calendar';
|
|
||||||
update applications set app_order=10,app_tables=NULL where app_name='email';
|
|
||||||
update applications set app_order=11,app_tables='newsgroups,users_newsgroups' where app_name='nntp';
|
|
||||||
update applications set app_order=0,app_tables=NULL where app_name='cron_apps';
|
|
||||||
|
|
||||||
CREATE TABLE config (
|
|
||||||
config_name varchar(25) NOT NULL,
|
|
||||||
config_value varchar(100),
|
|
||||||
UNIQUE config_name (config_name)
|
|
||||||
);
|
|
||||||
|
|
||||||
insert into config (config_name, config_value) values ('default_tplset', 'default');
|
|
||||||
insert into config (config_name, config_value) values ('temp_dir', '/path/to/tmp');
|
|
||||||
insert into config (config_name, config_value) values ('files_dir', '/path/to/dir/phpgroupware/files');
|
|
||||||
insert into config (config_name, config_value) values ('encryptkey', 'change this phrase 2 something else');
|
|
||||||
insert into config (config_name, config_value) values ('site_title', 'phpGroupWare');
|
|
||||||
insert into config (config_name, config_value) values ('hostname', 'local.machine.name');
|
|
||||||
insert into config (config_name, config_value) values ('webserver_url', '/phpgroupware');
|
|
||||||
insert into config (config_name, config_value) values ('auth_type', 'sql');
|
|
||||||
insert into config (config_name, config_value) values ('ldap_host', 'localhost');
|
|
||||||
insert into config (config_name, config_value) values ('ldap_context', 'o=phpGroupWare');
|
|
||||||
insert into config (config_name, config_value) values ('usecookies', 'True');
|
|
||||||
insert into config (config_name, config_value) values ('mail_server', 'localhost');
|
|
||||||
insert into config (config_name, config_value) values ('mail_server_type', 'imap');
|
|
||||||
insert into config (config_name, config_value) values ('imap_server_type', 'Cyrus');
|
|
||||||
insert into config (config_name, config_value) values ('mail_suffix', 'yourdomain.com');
|
|
||||||
insert into config (config_name, config_value) values ('mail_login_type', 'standard');
|
|
||||||
insert into config (config_name, config_value) values ('smtp_server', 'localhost');
|
|
||||||
insert into config (config_name, config_value) values ('smtp_port', '25');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_server', 'yournewsserver.com');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_port', '119');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_sender', 'complaints@yourserver.com');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_organization', 'phpGroupWare');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_admin', 'admin@yourserver.com');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_login_username', '');
|
|
||||||
insert into config (config_name, config_value) values ('nntp_login_password', '');
|
|
||||||
insert into config (config_name, config_value) values ('charset', 'iso-8859-1');
|
|
||||||
insert into config (config_name, config_value) values ('default_ftp_server', 'localhost');
|
|
||||||
insert into config (config_name, config_value) values ('httpproxy_server', '');
|
|
||||||
insert into config (config_name, config_value) values ('httpproxy_port', '');
|
|
||||||
insert into config (config_name, config_value) values ('showpoweredbyon', 'bottom');
|
|
||||||
insert into config (config_name, config_value) values ('checkfornewversion', 'False');
|
|
||||||
|
|
||||||
insert into lang (message_id, app_name, lang, content) VALUES( 'charset','common','en','iso-8859-1');
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user