--
-- Host: localhost    Database: bitspy_perlcalendar
-- ------------------------------------------------------


--
-- Current Database: `bitspy_perlcalendar`
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `bitspy_perlcalendar` /*!40100 DEFAULT CHARACTER SET latin1 */;

USE `bitspy_perlcalendar`;

--
-- Table structure for table `bydate`
--

CREATE TABLE `bydate` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `eventdate` date NOT NULL DEFAULT '0000-00-00',
  `eventtime` time NOT NULL DEFAULT '25:00:00',
  `shortevent` varchar(50) NOT NULL DEFAULT '',
  `longevent` text NOT NULL,
  `userid` varchar(25) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `eventdate` (`eventdate`),
  KEY `eventtime` (`eventtime`)
) ENGINE=MyISAM AUTO_INCREMENT=23 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bydate`
--

INSERT INTO `bydate` VALUES (1,'2002-09-23','25:00:00','Week 1: Overview of Perl','Reading: Week One Class Lectures & Perl by Example pp. 1-51 (Chapters 1 - 3).','cschrotenboer'),(2,'2002-09-30','25:00:00','Week 2: Control Structures','Reading: Week Two Class Lectures & Perl by Example pp. 119-162 (Chapters 5 - 6). ','cschrotenboer'),(3,'2002-10-07','25:00:00','Week 3: Lists/Arrays','Reading: Week Three Class Lectures & Perl by Example pp. 51-89 (Chapter 4). ','cschrotenboer'),(4,'2002-10-07','25:00:00','<font color=\"red\">Lab/Homework #1 Due</font>','Lab/Homework #1 Due','cschrotenboer'),(5,'2002-10-14','25:00:00','<font color=\"red\">Lab/Homework #2 Due</font>','Lab/Homework #2 due','cschrotenboer'),(6,'2002-10-14','25:00:00','Week 4: Hashes and Perl Operators','Reading: Week Four Class Lectures & Perl by Example pp. 90-118 (Chapters 4 - 5). ','cschrotenboer'),(7,'2002-10-21','25:00:00','<font color=\"red\">Lab/Homework #3 Due</font>','Lab/Homework #3 due','cschrotenboer'),(8,'2002-10-21','25:00:00','Week 5: Regular Expressions - Pattern Matching','Reading: Week Five Class Lectures & Perl by Example pp. 163-196 (Chapter 7).','cschrotenboer'),(9,'2002-10-28','25:00:00','Week 6: Regular Expressions &amp; Metacharacters','Reading: Week Six Class Lectures & Perl by Example pp. 197-248 (Chapter 8).','cschrotenboer'),(10,'2002-10-28','25:00:00','<font color=\"red\">Lab/Homework #4 Due</font>','Lab/Homework #4 due ','cschrotenboer'),(11,'2002-11-06','25:00:00','<font color=\"red\">Lab/Homework #5 Due</font>','Lab/Homework #5 due','cschrotenboer'),(12,'2002-11-04','25:00:00','Week 7: File and Directory Manipulation','Week Seven Class Lectures & Perl by Example pp. 249-288 (Chapter 9) & pp. 526-528 (Chapter 16). ','cschrotenboer'),(13,'2002-11-12','25:00:00','<font color=\"red\">MIDTERM DUE</font>','MIDTERM, to be submitted by this evening ','cschrotenboer'),(14,'2002-11-11','25:00:00','Week 8: Subroutines (Functions)','Reading: Week Eight Class Lectures & Perl by Example pp. 289-322 (Chapter 10). pp. 289-322 (Chapter 10). ','cschrotenboer'),(15,'2002-11-18','25:00:00','<font color=\"red\">Lab/Homework #6 Due</font>','Lab/Homework #6 due','cschrotenboer'),(16,'2002-11-18','25:00:00','Week 9: References','Reading: Week Nine Class Lectures & Perl by Example pp. 355-378 (Chapter 12). ','cschrotenboer'),(17,'2002-11-25','25:00:00','<font color=\"red\">Lab/Homework #7 Due</font>','Lab/Homework #7','cschrotenboer'),(18,'2002-11-25','25:00:00','Week 10: Object Oriented Perl','Reading: Week Ten Class Lectures & Perl by Example pp. 379-434 (Chapter 13).','cschrotenboer'),(19,'2002-12-06','25:00:00','<font color=\"red\">Final Project Due</font>','Final Project Due','cschrotenboer'),(20,'2002-12-06','25:00:00','<font color=\"red\">LAST DAY FOR ALL LATE ASSIGNMENT','LAST DAY FOR ALL LATE ASSIGNMENTS','cschrotenboer'),(21,'2002-12-02','25:00:00','Week 11: Report Writing','Reading: Week Eleven Class Lectures & Perl by Example pp. 583-598 (Chapter 17).','cschrotenboer'),(22,'2002-12-11','25:00:00','<font color=\"red\">FINAL EXAM DUE</font>','Final exam should be submitted before midnight tonight.','cschrotenboer');

--
-- Table structure for table `recurring`
--

CREATE TABLE `recurring` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `weekday` tinyint(4) NOT NULL DEFAULT '0',
  `eventtime` time NOT NULL DEFAULT '25:00:00',
  `schedule` enum('weekly','monthly','yearly') NOT NULL DEFAULT 'weekly',
  `period` tinyint(4) DEFAULT NULL,
  `month` tinyint(4) DEFAULT NULL,
  `shortevent` varchar(50) NOT NULL DEFAULT '',
  `longevent` text NOT NULL,
  `userid` varchar(25) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `weekday` (`weekday`),
  KEY `eventtime` (`eventtime`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `recurring`
--



