Step back in refactoring, case sensitive ignored in autocomplite, adding lesson type...
[SkiSchool.git] / initdb.sql
blob48f1c61a9e78b69446747fe7e257c6bb3f0b3624
1 INSERT INTO person(id, dtype, lastname, phone, birthnumber, email, address, firstname, disabled)\r
2     VALUES (1111110, 'instructor', 'simpson', '12345678', '12345682', 'homer@fox.com', 'evergreen terace', 'homer', FALSE);\r
3 INSERT INTO person(id, dtype, lastname, phone, birthnumber, email, address, firstname, disabled)\r
4     VALUES (1111111, 'instructor', 'simpson', '87654321', '76655443', 'marge@fox.com', 'evergreen terace', 'marge', FALSE);\r
5 INSERT INTO person(id, dtype, lastname, phone, birthnumber, email, address, firstname, disabled)\r
6     VALUES (1111112, 'instructor', 'simpson', '99653345', '98667744', 'abe@fox.com', 'retirement home', 'abe', FALSE);\r
7 INSERT INTO person(id, dtype, lastname, phone, birthnumber, email, address, firstname, disabled)\r
8     VALUES (1111113, 'student', 'simpson', '78795655', '67678999', 'bart@fox.com', 'evergreen terace', 'bart', FALSE);\r
9 INSERT INTO person(id, dtype, lastname, phone, birthnumber, email, address, firstname, disabled)\r
10     VALUES (1111114, 'student', 'simpson', '09567870', '90095657', 'lisa@fox.com', 'evergreen terace', 'lisa', FALSE);\r
12 INSERT INTO instructor(id, sex, positionsnowboard, seasonhours, active, positionski, totalhours, note, bankaccount)\r
13     VALUES (1111110, 'Male', 'unknown', 12, TRUE, 'unknown', 34, 'doh', '90903356/7688');\r
14 INSERT INTO instructor(id, sex, positionsnowboard, seasonhours, active, positionski, totalhours, note, bankaccount)\r
15     VALUES (1111111, 'Female', 'unknown', 45, TRUE, 'unknown', 78, 'loves cooking', '87348800/7688');\r
16 INSERT INTO instructor(id, sex, positionsnowboard, seasonhours, active, positionski, totalhours, note, bankaccount)\r
17     VALUES (1111112, 'Male', 'unknown', 6, TRUE, 'unknown', 124, 'in WW1...', '77994466/7098');\r
19 INSERT INTO student(id, ski, snowboard, age, groupsize, note)\r
20     VALUES (1111113, FALSE, TRUE, 10, 0, 'el barto');\r
21 INSERT INTO student(id, ski, snowboard, age, groupsize, note)\r
22     VALUES (1111114, TRUE, FALSE, 8, 0, 'loves ponies');\r
24 INSERT INTO account(id, "login", "password", groupname, person_id)\r
25     VALUES (1111110, 'homer', '6e017b5464f820a6c1bb5e9f6d711a667a80d8ea', 'instructor', 1111110);\r
26 INSERT INTO account(id, "login", "password", groupname, person_id)\r
27     VALUES (1111111, 'marge', '6e017b5464f820a6c1bb5e9f6d711a667a80d8ea', 'instructor', 1111111);\r
28 INSERT INTO account(id, "login", "password", groupname, person_id)\r
29     VALUES (1111112, 'abe', '6e017b5464f820a6c1bb5e9f6d711a667a80d8ea', 'administrator', 1111112);\r
31 INSERT INTO availability(id, starttime, endtime, note, instructor_id)\r
32     VALUES (1111110, '2010-11-10 14:30', '2010-11-10 16:00', '', 1111110);\r
33 INSERT INTO availability(id, starttime, endtime, note, instructor_id)\r
34     VALUES (1111111, '2010-11-10 17:45', '2010-11-10 19:00', '', 1111110);\r
35 INSERT INTO availability(id, starttime, endtime, note, instructor_id)\r
36     VALUES (1111112, '2010-11-10 12:30', '2010-11-10 13:15', '', 1111110);\r
37 INSERT INTO availability(id, starttime, endtime, note, instructor_id)\r
38     VALUES (1111113, '2010-11-10 12:30', '2010-11-10 15:00', '', 1111111);\r
39 INSERT INTO availability(id, starttime, endtime, note, instructor_id)\r
40     VALUES (1111114, '2010-11-10 18:30', '2010-11-10 19:45', '', 1111111);