 --
 
 CREATE TABLE IF NOT EXISTS `tb_training_class_student_attendance` (
-`id` int(11) NOT NULL,
+  `id` int(11) NOT NULL AUTO_INCREMENT,
   `tb_training_schedule_id` int(11) NOT NULL,
   `hours` decimal(3,2) DEFAULT NULL,
   `reason` varchar(255) DEFAULT NULL,

  `modified` datetime DEFAULT NULL,
  `modifiedBy` int(11) DEFAULT NULL,
  `deleted` datetime DEFAULT NULL,
  `deletedBy` int(11) DEFAULT NULL
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;

--
-- Dumping data for table `tb_program`

--

CREATE TABLE IF NOT EXISTS `tb_training_pic` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tb_training_id` int(11) NOT NULL,
  `tb_user_id` int(11) NOT NULL,
  `type` int(3) DEFAULT '0' COMMENT '1-3:GENERAL;4-6:PLANNING;7-8:EXECUTION;9-11:EVALUATION;12:WIDYAISWARA',
