I was trying to create a table in mysql using phpmysqladmin but it is throwing the error "#1067 - Invalid default value for 'end_time"
My table structure below:
DROP TABLE IF EXISTS `apply_job`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `apply_job` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`job_id` int(11) NOT NULL,
`apply_status` int(11) NOT NULL COMMENT '1-interested,2-complete assessment',
`score` int(11) NOT NULL,
`start_time` timestamp NOT NULL,
`end_time` timestamp NOT NULL,
`datetime` datetime(5) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3063 DEFAULT CHARSET=latin1;