Skip to content

Commit

Permalink
correction " -> '
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoRie committed Mar 27, 2015
1 parent fc57312 commit c3d3eac
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion dml/administrator.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ DML to create administrator testdata.
*/

INSERT INTO administrator (administratorId, userId) VALUES
(NULL, (SELECT userId FROM user WHERE userName = "adm1337"));
(NULL, (SELECT userId FROM user WHERE userName = 'adm1337'));
8 changes: 4 additions & 4 deletions dml/doctor.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DML to create doctor testdata.
*/

INSERT INTO doctor (doctorId, userId, calendarId, doctorIdSubstitute) VALUES
(NULL, (SELECT userId FROM user WHERE userName = "pta1234"), (select calendarId from calendar where calendarWorkingHoursIdMonday is not null and calendarWorkingHoursIdFriday is not null and calendarWorkingHoursIdTuesday is not null), NULL),
(NULL, (SELECT userId FROM user WHERE userName = "dru8472"), (select calendarId from calendar where calendarWorkingHoursIdMonday is null and calendarWorkingHoursIdFriday is null), NULL),
(NULL, (SELECT userId FROM user WHERE userName = "abc1234"), (select calendarId from calendar where calendarWorkingHoursIdTuesday is null and calendarWorkingHoursIdSaturday is null), NULL),
(NULL, (SELECT userId FROM user WHERE userName = "xyz7890"), (select calendarId from calendar where calendarWorkingHoursIdSaturday is not null), NULL);
(NULL, (SELECT userId FROM user WHERE userName = 'pta1234'), (select calendarId from calendar where calendarWorkingHoursIdMonday is not null and calendarWorkingHoursIdFriday is not null and calendarWorkingHoursIdTuesday is not null), NULL),
(NULL, (SELECT userId FROM user WHERE userName = 'dru8472'), (select calendarId from calendar where calendarWorkingHoursIdMonday is null and calendarWorkingHoursIdFriday is null), NULL),
(NULL, (SELECT userId FROM user WHERE userName = 'abc1234'), (select calendarId from calendar where calendarWorkingHoursIdTuesday is null and calendarWorkingHoursIdSaturday is null), NULL),
(NULL, (SELECT userId FROM user WHERE userName = 'xyz7890'), (select calendarId from calendar where calendarWorkingHoursIdSaturday is not null), NULL);
4 changes: 2 additions & 2 deletions dml/orthoptist.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ DML to create orthoptist testdata.
*/

INSERT INTO orthoptist (orthoptistId, userId, calendarId) VALUES
(NULL, (SELECT userId FROM user WHERE userName = "ort1234"), NULL),
(NULL, (SELECT userId FROM user WHERE userName = "ort5678"), NULL);
(NULL, (SELECT userId FROM user WHERE userName = 'ort1234'), NULL),
(NULL, (SELECT userId FROM user WHERE userName = 'ort5678'), NULL);
2 changes: 1 addition & 1 deletion dml/receptionist.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ DML to create receptionist testdata.
*/

INSERT INTO receptionist (receptionistId, userId) VALUES
(NULL, (SELECT userId FROM user WHERE userName = "spr1357"));
(NULL, (SELECT userId FROM user WHERE userName = 'spr1357'));
16 changes: 8 additions & 8 deletions dml/user.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ DML to create user testdata.
*/

INSERT INTO user (userId, userGroupId, userName, password, createDate, idleDate) VALUES
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = "Arzt"), "pta1234", "password", NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = "Arzt"), "dru8472", "password", NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = "Arzt"), "abc1234", "password", NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = "Arzt"), "xyz7890", "password", NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = "Orthoptist"), "ort1234", "password", NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = "Orthoptist"), "ort5678", "password", NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = "Sprechstundenhilfe"), "spr1357", "password", NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = "Administrator"), "adm1337", "password", NULL, NULL);
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = 'Arzt'), 'pta1234', 'password', NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = 'Arzt'), 'dru8472', 'password', NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = 'Arzt'), 'abc1234', 'password', NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = 'Arzt'), 'xyz7890', 'password', NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = 'Orthoptist'), 'ort1234', 'password', NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = 'Orthoptist'), 'ort5678', 'password', NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = 'Sprechstundenhilfe'), 'spr1357', 'password', NULL, NULL),
(NULL, (SELECT userGroupId FROM usergroup WHERE userGroupName = 'Administrator'), 'adm1337', 'password', NULL, NULL);

0 comments on commit c3d3eac

Please sign in to comment.