   `kode_kelas` varchar(6) DEFAULT NULL,
   PRIMARY KEY (`id`),
   KEY `kode_kelas` (`kode_kelas`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
+) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
 
 --
 -- Constraints for dumped tables

--

CREATE TABLE IF NOT EXISTS `jadwal` (
  `hari` text NOT NULL,
  `jam` time NOT NULL,
  `kode_kelas` varchar(6) NOT NULL,
  `nomor_ruangan` int(2) NOT NULL,
  PRIMARY KEY (`jam`,`hari`(6)),
  KEY `kode_kelas` (`kode_kelas`),
  KEY `nomor_ruangan` (`nomor_ruangan`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--

CREATE TABLE IF NOT EXISTS `presensi` (
  `hari` date NOT NULL,
  `status` text NOT NULL,
  `kode_kelas` varchar(6) NOT NULL,
  PRIMARY KEY (`hari`,`kode_kelas`),
  KEY `kode_kelas` (`kode_kelas`),
  KEY `kode_kelas_2` (`kode_kelas`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
