Commit 03fb2cd1a54b45f7f1a334f0c449d35d770414d3
1 parent
d7f85b58
Hein Blöd wegen existierendem TestDataBuilder gegen Bruce Lee ersetzt.
Showing
1 changed file
with
4 additions
and
3 deletions
src/main/resources/bootstrap_data.sql
1 | INSERT INTO Role (id, name) VALUES(1, "Adminrolle"); | 1 | INSERT INTO Role (id, name) VALUES(1, "Adminrolle"); |
2 | INSERT INTO Role_rights (Role_id, rights) VALUES(1, "ADMIN"); | 2 | INSERT INTO Role_rights (Role_id, rights) VALUES(1, "ADMIN"); |
3 | -INSERT INTO Profile (id, role_id, username, mailaddress, hashAlgorithm, passwordHash, salt) VALUES (2, 1, "admin", "chuck.norris@haudrauf.com", "SHA512", "JeuPx1++vnOSp/rdDwjnPwNIldN49UhtJEwUcKr3ksTvu/3s6nmnWbh+mkjfsw41w1LE8VJJAukn+LpfnUybzg==", "wwUVuetAfN1dtaXk0zWOMmb1nIw="); | 3 | +INSERT INTO Profile (id, role_id, username, mailaddress, hashAlgorithm, passwordHash, salt) VALUES (2, 1, "admin", "chuck.norris@roundhouse.kick", "SHA512", "JeuPx1++vnOSp/rdDwjnPwNIldN49UhtJEwUcKr3ksTvu/3s6nmnWbh+mkjfsw41w1LE8VJJAukn+LpfnUybzg==", "wwUVuetAfN1dtaXk0zWOMmb1nIw="); |
4 | INSERT INTO User (id, profile_id, firstname, lastname) VALUES (3, 2, "Chuck", "Norris"); | 4 | INSERT INTO User (id, profile_id, firstname, lastname) VALUES (3, 2, "Chuck", "Norris"); |
5 | 5 | ||
6 | INSERT INTO Role (id, name) VALUES(4, "Benutzerrolle"); | 6 | INSERT INTO Role (id, name) VALUES(4, "Benutzerrolle"); |
7 | INSERT INTO Role_rights (Role_id, rights) VALUES(4, "USER"); | 7 | INSERT INTO Role_rights (Role_id, rights) VALUES(4, "USER"); |
8 | -INSERT INTO Profile (id, role_id, username, mailaddress, hashAlgorithm, passwordHash, salt) VALUES (5, 4, "user", "hein.bloed@machsgut.de", "SHA512", "iXFejEGFcJJ50cQKEZNUqHtZc50eXyyJgU6iB2SsDRVAWhNltuT+r3VIJuqsk++Zd49X3LSOpAbxnDMF7Olgrg==", "FrG5XPKM89c1e5DXH+z1VnS/1OE="); | ||
9 | -INSERT INTO User (id, profile_id, firstname, lastname) VALUES (6, 5, "Hein", "Blöd"); | 8 | +INSERT INTO Profile (id, role_id, username, mailaddress, hashAlgorithm, passwordHash, salt) VALUES (5, 4, "user", "bruce.lee@chacha.cha", "SHA512", "iXFejEGFcJJ50cQKEZNUqHtZc50eXyyJgU6iB2SsDRVAWhNltuT+r3VIJuqsk++Zd49X3LSOpAbxnDMF7Olgrg==", "FrG5XPKM89c1e5DXH+z1VnS/1OE="); |
9 | +INSERT INTO User (id, profile_id, firstname, lastname) VALUES (6, 5, "Bruce", "Lee"); | ||
10 | 10 | ||
11 | -UPDATE hibernate_sequence SET next_val = 7; | 11 | -UPDATE hibernate_sequence SET next_val = 7; |
12 | +UPDATE hibernate_sequence SET next_val = 7; | ||
12 | \ No newline at end of file | 13 | \ No newline at end of file |