undone the changes

This commit is contained in:
Ralf Becker 2001-05-30 22:26:27 +00:00
parent 950809de72
commit bfafacff77
4 changed files with 0 additions and 55 deletions

View File

@ -44,7 +44,6 @@
@$phpgw_setup->db->query("DROP TABLE calendar_entry");
@$phpgw_setup->db->query("DROP TABLE calendar_entry_user");
@$phpgw_setup->db->query("DROP TABLE calendar_entry_repeats");
$phpgw_setup->db->query("DROP TABLE phpgw_infolog");
/* Legacy tables */
@ -55,5 +54,4 @@
$phpgw_setup->db->query("DROP TABLE preferences");
$phpgw_setup->db->query("DROP TABLE addressbook");
$phpgw_setup->db->query("DROP TABLE todo");
$phpgw_setup->db->query("DROP TABLE infolog");
?>

View File

@ -354,31 +354,6 @@
)";
$phpgw_setup->db->query($sql);
$sql = "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,
info_addr_id int(11) DEFAULT '0' NOT NULL,
info_proj_id int(11) DEFAULT '0' NOT NULL,
info_from varchar(64),
info_addr varchar(64),
info_subject varchar(64) NOT NULL,
info_des text,
info_owner int(11) NOT NULL,
info_responsible int(11) DEFAULT '0' NOT NULL,
info_access varchar(10) DEFAULT 'public',
info_cat int(11) DEFAULT '0' NOT NULL,
info_datecreated int(11) DEFAULT '0' NOT NULL,
info_startdate int(11) DEFAULT '0' NOT NULL,
info_enddate int(11) DEFAULT '0' NOT NULL,
info_id_parent int(11) DEFAULT '0' NOT NULL,
info_pri enum('urgent','high','normal','low') DEFAULT 'Normal',
info_time int(11) DEFAULT '0' NOT NULL,
info_bill_cat int(11) DEFAULT '0' NOT NULL,
info_status enum('offer','ongoing','call','will-call','done','billed') DEFAULT 'done',
info_confirm enum('not','accept','finish','both') DEFAULT 'not'
)";
$phpgw_setup->db->query($sql);
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.13.001';
$phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi'];
update_version_table();

View File

@ -58,7 +58,4 @@
$phpgw_setup->db->query("DROP TABLE phpgw_notes");
$phpgw_setup->db->query("DROP sequence phpgw_notes_note_id_seq");
$phpgw_setup->db->query("DROP TABLE phpgw_infolog");
$phpgw_setup->db->query("DROP sequence phpgw_infolog_info_id_seq");
?>

View File

@ -323,31 +323,6 @@
)";
$phpgw_setup->db->query($sql);
$sql = "CREATE TABLE infolog (
info_id serial,
info_type enum('task','phone','note','confirm','reject','email','fax') 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 enum('urgent','high','normal','low') DEFAULT 'Normal',
info_time int DEFAULT '0' NOT NULL,
info_bill_cat int DEFAULT '0' NOT NULL,
info_status enum('offer','ongoing','call','will-call','done','billed') DEFAULT 'done',
info_confirm enum('not','accept','finish','both') DEFAULT 'not'
)";
$phpgw_setup->db->query($sql);
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.13.001';
$phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi'];
update_version_table();