310
310
UNIQUE INDEX `id_UNIQUE` (`id` ASC))
312
312
-- -------------------------------------------------
314
VALUES (0,'Teacher'),(1,'Student');
314
316
insert into `lenasys`.`Users` (`userName`,`name`,`passwd`,`userType`,`ssn`)
315
317
VALUES ('sha1','Per Student',sha1('Syp9393'),1,'19900385-2345'),
316
318
('md5','Per L�rare',md5('Syp9393'),0,'19800385-2325');
319
VALUES (0,'Teacher'),(1,'Student');
321
322
-- -----------------------------------------------------
322
323
-- allow maximum of 5 succesfull quiz-attemps is a good begining for implementation of the loggingtables to add restriction.