no longer needed, since setup(3)

This commit is contained in:
Ralf Becker 2002-05-12 07:10:56 +00:00
parent 44f4592e6a
commit 8f303f7484
2 changed files with 0 additions and 51 deletions

View File

@ -1,27 +0,0 @@
# $Id$
#DROP TABLE phpgw_infolog;
CREATE TABLE phpgw_infolog (
info_id int(11) unsigned PRIMARY KEY NOT NULL auto_increment,
info_type enum('task','phone','note','confirm','reject','email','fax') NOT NULL, # type of entry
info_addr_id int(11) DEFAULT '0' NOT NULL, # concerning address: e.g. call from or to (if applicable or 0)
info_proj_id int(11) DEFAULT '0' NOT NULL, # concerned project (if applicable or 0)
info_from varchar(64), # free text if no addr. or proj., e.g. name of person to call / who called
info_addr varchar(64), # type: call: nr to call. email: email-addr.
info_subject varchar(64) NOT NULL,
info_des text, # long description of subject
info_owner int(11) NOT NULL, # creator of task, ...
info_responsible int(11) DEFAULT '0' NOT NULL, # 0 if owner, else person the task is delegated to
info_access varchar(10) DEFAULT 'public', # public or private (private should include responsible person)
info_cat int(11) DEFAULT '0' NOT NULL, # free cathegory
info_datecreated int(11) DEFAULT '0' NOT NULL, # date of creation
info_startdate int(11) DEFAULT '0' NOT NULL, # begin of task
info_enddate int(11) DEFAULT '0' NOT NULL, # sheduled end of task
info_id_parent int(11) DEFAULT '0' NOT NULL, # id of parent-task or -call
info_pri enum('urgent','high','normal','low') DEFAULT 'Normal',# priority of the task / call
info_time int(11) DEFAULT '0' NOT NULL, # time needed for the task
info_bill_cat int(11) DEFAULT '0' NOT NULL, # 0 == not billed
info_status enum('offer','ongoing','call','will-call','done','billed') DEFAULT 'done', # offer means responsible person wanted/searched
info_confirm enum('not','accept','finish','both') DEFAULT 'not' # confirmation, not or when task is accepted or finished or on both
);

View File

@ -1,24 +0,0 @@
CREATE TABLE phpgw_infolog (
info_id serial,
info_type text check(info_type in('task','phone','note','confirm','reject','email','fax')) DEFAULT 'task' NOT NULL,
info_addr_id int DEFAULT '0' NOT NULL,
info_proj_id int DEFAULT '0' NOT NULL,
info_from varchar(64),
info_addr varchar(64),
info_subject varchar(64) NOT NULL,
info_des text,
info_owner int NOT NULL,
info_responsible int DEFAULT '0' NOT NULL,
info_access varchar(10) DEFAULT 'public',
info_cat int DEFAULT '0' NOT NULL,
info_datecreated int DEFAULT '0' NOT NULL,
info_startdate int DEFAULT '0' NOT NULL,
info_enddate int DEFAULT '0' NOT NULL,
info_id_parent int DEFAULT '0' NOT NULL,
info_pri text check(info_pri in ('urgent','high','normal','low')) DEFAULT 'Normal' NOT NULL,
info_time int DEFAULT '0' NOT NULL,
info_bill_cat int DEFAULT '0' NOT NULL,
info_status text check (info_status in ('offer','ongoing','call','will-call','done','billed')) DEFAULT 'done' NOT NULL,
info_confirm text check (info_confirm in('not','accept','finish','both')) DEFAULT 'not' NOT NULL
);