Commit 03fb2cd1a54b45f7f1a334f0c449d35d770414d3

Authored by Thomas Ziemer
1 parent d7f85b58

Hein Blöd wegen existierendem TestDataBuilder gegen Bruce Lee ersetzt.

src/main/resources/bootstrap_data.sql
1 1 INSERT INTO Role (id, name) VALUES(1, "Adminrolle");
2 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 4 INSERT INTO User (id, profile_id, firstname, lastname) VALUES (3, 2, "Chuck", "Norris");
5 5  
6 6 INSERT INTO Role (id, name) VALUES(4, "Benutzerrolle");
7 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 11 -UPDATE hibernate_sequence SET next_val = 7;
  12 +UPDATE hibernate_sequence SET next_val = 7;
12 13 \ No newline at end of file
... ...