2003-09-19 04:24:28 +00:00
|
|
|
#
|
|
|
|
# Table structure for table `prefix_attendance`
|
|
|
|
#
|
|
|
|
|
|
|
|
CREATE TABLE prefix_attendance (
|
|
|
|
id int(10) unsigned NOT NULL auto_increment,
|
|
|
|
name varchar(255) NOT NULL default '',
|
|
|
|
course int(10) NOT NULL default '0',
|
|
|
|
day int(10) unsigned NOT NULL default '0',
|
|
|
|
hours tinyint(1) NOT NULL default '0',
|
|
|
|
roll tinyint(1) NOT NULL default '0',
|
|
|
|
notes varchar(64) NOT NULL default '',
|
|
|
|
timemodified int(10) unsigned NOT NULL default '0',
|
|
|
|
dynsection tinyint(1) NOT NULL default '0',
|
2003-09-21 17:40:12 +00:00
|
|
|
edited tinyint(1) NOT NULL default '0',
|
2003-09-25 18:54:18 +00:00
|
|
|
autoattend tinyint(1) NOT NULL default '0',
|
2003-09-19 04:24:28 +00:00
|
|
|
PRIMARY KEY (id)
|
|
|
|
) TYPE=MyISAM;
|
|
|
|
|
|
|
|
#
|
|
|
|
# Table structure for table `prefix_attendance_roll`
|
|
|
|
#
|
|
|
|
|
|
|
|
CREATE TABLE prefix_attendance_roll (
|
|
|
|
id int(11) NOT NULL auto_increment,
|
|
|
|
dayid int(10) unsigned NOT NULL default '0',
|
|
|
|
userid int(11) NOT NULL default '0',
|
|
|
|
hour tinyint(1) unsigned NOT NULL default '0',
|
|
|
|
status int(11) NOT NULL default '0',
|
|
|
|
notes varchar(64) NOT NULL default '',
|
|
|
|
PRIMARY KEY (id)
|
|
|
|
) TYPE=MyISAM;
|