Dean C
03-15-2003, 05:06 PM
Can anyone see anything wrong with this:
CREATE TABLE events (
event_id int(11) NOT NULL auto_increment,
event_title varchar(255) NOT NULL default '',
event_start date bigint(20) unsigned NOT NULL default '0',
event_end date bigint(20) unsigned NOT NULL default '0',
event_parent int(11) unsigned NOT NULL default '0',
event_description text,
event_times_recuring int(11) unsigned NOT NULL default '0',
event_recurs int(11) unsigned NOT NULL default '0',
event_remind int(10) unsigned NOT NULL default '0',
event_icon varchar(20) default 'obj/event',
event_owner int(11) default '0',
event_project int(11) default '0',
event_private tinyint(3) default '0',
PRIMARY KEY (event_id),
KEY id_esd (event_start_date),
KEY id_eed (event_end_date),
KEY id_evp (event_parent)
) TYPE=MyISAM;
???
Regards :)
- miSt
CREATE TABLE events (
event_id int(11) NOT NULL auto_increment,
event_title varchar(255) NOT NULL default '',
event_start date bigint(20) unsigned NOT NULL default '0',
event_end date bigint(20) unsigned NOT NULL default '0',
event_parent int(11) unsigned NOT NULL default '0',
event_description text,
event_times_recuring int(11) unsigned NOT NULL default '0',
event_recurs int(11) unsigned NOT NULL default '0',
event_remind int(10) unsigned NOT NULL default '0',
event_icon varchar(20) default 'obj/event',
event_owner int(11) default '0',
event_project int(11) default '0',
event_private tinyint(3) default '0',
PRIMARY KEY (event_id),
KEY id_esd (event_start_date),
KEY id_eed (event_end_date),
KEY id_evp (event_parent)
) TYPE=MyISAM;
???
Regards :)
- miSt