 	`city` VARCHAR(70),
 	`country` VARCHAR(70),
 	`postcode` VARCHAR(70),
-	`created_date` DATETIME,
+	`created_date` DATETIME NOT NULL,
 	`updated_date` DATETIME,
 FOREIGN KEY (userid)    
 REFERENCES user_signin(userid)   

CREATE TABLE `student_portal`.`user_token` (
	`userid` INT(11) NOT NULL AUTO_INCREMENT UNIQUE,
	`token` CHAR(70) UNIQUE,
	`created_date` DATETIME,
	`updated_date` DATETIME,
FOREIGN KEY (userid)    
REFERENCES user_signin(userid)   

CREATE TABLE `student_portal`.`user_tasks` (
	`userid` INT(11) NOT NULL,
	`taskid` INT(11) NOT NULL AUTO_INCREMENT UNIQUE,
	`task_name` VARCHAR(70) NOT NULL,
	`task_notes` VARCHAR(5000),
	`task_url` VARCHAR(300),
	`task_class` VARCHAR(15) NOT NULL,
	`task_startdate` DATETIME NOT NULL,
	`task_duedate` DATETIME NOT NULL,
	`task_category` VARCHAR(10) NOT NULL,
	`task_status` VARCHAR(10) NOT NULL,
	`created_date` DATETIME NOT NULL,
	`updated_date` DATETIME,
	`completed_date` DATETIME,
FOREIGN KEY (userid)    
