From 282c0e1d4be29450ec3276fb7d2476cd09d9928c Mon Sep 17 00:00:00 2001 From: c22063583 <WHITEf6@cardiff.ac.uk> Date: Sat, 22 Apr 2023 18:32:15 +0100 Subject: [PATCH] going home now --- createdb.sql | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) diff --git a/createdb.sql b/createdb.sql index 6b42c6b..b2556ed 100644 --- a/createdb.sql +++ b/createdb.sql @@ -594,51 +594,3 @@ BEGIN END$$ DELIMITER ; - -call addParent("jeff","Jones","email@realemail.com","veryStrongPassw0rd",02358254); -call addParent("tim","buckley","loss@realemail.com","veryStrongPassw0rd",118254); -call addBadge("real badge","this is a totally real badge"); - -insert into students (studentID,fname,lname,bday,dayjoined,parentsID,groupID)values ((md5(concat('bobby','jones','EXTRaSTRONGPASSWORD'))),"bobby","jones",'2012-2-11',curdate(),'8e301d6e513165a9c0b6b9a2b10c8305','41'); - -insert into students (studentID,fname,lname,bday,dayjoined,parentsID,groupID) values(md5(concat('timothy','jones','EXTREMELYSTRONGPASSWORD')),"timothy","jones",'2002-2-11',curdate(),'8e301d6e513165a9c0b6b9a2b10c8305','41'); -call addStudent("samantha","jones",'2019-2-11','8e301d6e513165a9c0b6b9a2b10c8305','superSTRONGPASSWORD'); -call addStudent("tom","jones",'2012-2-11','8e301d6e513165a9c0b6b9a2b10c8305','superSTRONGPASSWORD'); -CALL addstudent('ethan','buckley','2013-03-02','4a85f9d4254038c83c3fc4f9b02b9619','weakpassword'); -insert into sessiongroup values('41',4); - -call viewstudent(''); - - -select * from students; -call applytogroup('4208a177bd0e3e81b682640e2c8078dd','41',4); -call addVolunteer("timothy","jones",'bob@bbc.co.uk','8e301d6e513165a9c0b6b9a2b10c8305',"0777008913"); -call applytogroup('b6e14bcdd6a79c8f8cd9fcef3be5f00b', '41',4); - -call applytogroup('031f0ba110c9683bf4cf5d2836b32a95',41,4); -call updateSG('419fd9859978a9bf79df4ff16c99c5f9',"2020-04-09"); -call updateDBS('419fd9859978a9bf79df4ff16c99c5f9',"2021-09-09"); -call addSession("computer lab",4,'419fd9859978a9bf79df4ff16c99c5f9','2023-02-03',4,'41'); -call ReviewSession(md5('2023-02-03'),"it was ok","idk"); - - -call addSession("computer lab",3,'419fd9859978a9bf79df4ff16c99c5f9','2023-01-03',4,'41'); -call ReviewSession(md5('2023-01-03'),"it was ok","idk"); -call addSession("computer lab",3,'419fd9859978a9bf79df4ff16c99c5f9','2022-11-03',4,'41'); -call addSession("computer lab",3,'419fd9859978a9bf79df4ff16c99c5f9','2023-04-16',4,'41'); -CALL STUDENTATTENDS('0ad073b3372ad0c243e6d465a2318568','94b21f931d888fefd4da7a07c01dff4a'); -call studentattends('313b6d9a06c3a0618f72ec75c082b6a4','94b21f931d888fefd4da7a07c01dff4a'); -call viewVolunteer(''); -select * from students; - -call viewCheckExpiries(); -call addToGroup('41'); --- select * from waitlist; -select * from students; -call StudentBadgeApply( '0ad073b3372ad0c243e6d465a2318568','fb635b87d668b2bbcc6a0b0a2f6adc32','I did it'); -call volunteerviewBadges(); --- '0ad073b3372ad0c243e6d465a2318568') -call volunteerviewbadges(); -select * from volunteers; -call badgeapprove('1ab31562f157f8489ae45bb767cbad43','419fd9859978a9bf79df4ff16c99c5f9',1); -call viewbadges('0ad073b3372ad0c243e6d465a2318568'); -- GitLab