Refactoring des comptes vers dénomination Account : import.sql (non détecté par IDEA)
Showing
1 changed file
with
10 additions
and
10 deletions
... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ |
13 | -- (10, 'Allemagne'), | 13 | -- (10, 'Allemagne'), |
14 | -- (11, 'Pologne'), | 14 | -- (11, 'Pologne'), |
15 | -- (12, 'Italie'); | 15 | -- (12, 'Italie'); |
16 | -INSERT INTO Person (userId, username, password, firstName, lastName, nickname, email, activated, anonymous, visible, | 16 | +INSERT INTO Account (userId, username, password, firstName, lastName, nickname, email, activated, anonymous, visible, |
17 | criticProvider) VALUES | 17 | criticProvider) VALUES |
18 | (1, '1', null, '1f', '1l', '1n', '1@raza.org', TRUE, TRUE, TRUE, TRUE), | 18 | (1, '1', null, '1f', '1l', '1n', '1@raza.org', TRUE, TRUE, TRUE, TRUE), |
19 | (2, '2', null, '2f', '2l', '2n', '2@raza.org', TRUE, FALSE, TRUE, TRUE), | 19 | (2, '2', null, '2f', '2l', '2n', '2@raza.org', TRUE, FALSE, TRUE, TRUE), |
... | @@ -71,24 +71,24 @@ INSERT INTO Person (userId, username, password, firstName, lastName, nickname, e | ... | @@ -71,24 +71,24 @@ INSERT INTO Person (userId, username, password, firstName, lastName, nickname, e |
71 | -- (2, 0, 1, 2, {ts '2010-06-20 14:27:35'}, 2), | 71 | -- (2, 0, 1, 2, {ts '2010-06-20 14:27:35'}, 2), |
72 | -- (3, 0, 1, 4, {ts '2015-01-01 16:18:17'}, 3); | 72 | -- (3, 0, 1, 4, {ts '2015-01-01 16:18:17'}, 3); |
73 | 73 | ||
74 | -INSERT INTO UserRole (userRoleId, rolename, visible) VALUES | 74 | +INSERT INTO AccountRole (userRoleId, rolename, visible) VALUES |
75 | (1, 'VISITEUR', TRUE), | 75 | (1, 'VISITEUR', TRUE), |
76 | (2,'RECRUE', TRUE), | 76 | (2,'RECRUE', TRUE), |
77 | (3, 'CONTRIBUTEUR', TRUE), | 77 | (3, 'CONTRIBUTEUR', TRUE), |
78 | (4, 'ADMINISTRATEUR', TRUE), | 78 | (4, 'ADMINISTRATEUR', TRUE), |
79 | (5, 'RETRAITE', TRUE), | 79 | (5, 'RETRAITE', TRUE), |
80 | (6, 'ASSOCE', TRUE); | 80 | (6, 'ASSOCE', TRUE); |
81 | -INSERT INTO UserProperty (userPropertyId, name, tag, visible) VALUES | 81 | +INSERT INTO AccountProperty (userPropertyId, name, tag, visible) VALUES |
82 | (1, 'nb_vignettes', 'Nombre de vignettes en home', TRUE), | 82 | (1, 'nb_vignettes', 'Nombre de vignettes en home', TRUE), |
83 | (2, 'avatar', 'Lien vers une icône ou une photo', TRUE), | 83 | (2, 'avatar', 'Lien vers une icône ou une photo', TRUE), |
84 | (3, 'tagline', 'Ligne de présentation pour les contributeurs', TRUE), | 84 | (3, 'tagline', 'Ligne de présentation pour les contributeurs', TRUE), |
85 | (4, 'taille_listes', 'Nombre d''éléments affichés dans les listes', TRUE), | 85 | (4, 'taille_listes', 'Nombre d''éléments affichés dans les listes', TRUE), |
86 | (5,'skin', 'Thème visuel', TRUE); | 86 | (5,'skin', 'Thème visuel', TRUE); |
87 | 87 | ||
88 | -INSERT INTO Person_UserRole VALUES (1,2); | ||
89 | -INSERT INTO Person_UserRole VALUES (2,2); | ||
90 | -INSERT INTO Person_UserRole VALUES (3,2); | ||
91 | -INSERT INTO Person_UserRole VALUES (4,2); | ||
92 | -INSERT INTO Person_UserRole VALUES (5,2); | ||
93 | -INSERT INTO Person_UserRole VALUES (6,2); | ||
94 | -INSERT INTO Person_UserRole VALUES (5,4); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
88 | +INSERT INTO Person_AccountRole VALUES (1,2); | ||
89 | +INSERT INTO Person_AccountRole VALUES (2,2); | ||
90 | +INSERT INTO Person_AccountRole VALUES (3,2); | ||
91 | +INSERT INTO Person_AccountRole VALUES (4,2); | ||
92 | +INSERT INTO Person_AccountRole VALUES (5,2); | ||
93 | +INSERT INTO Person_AccountRole VALUES (6,2); | ||
94 | +INSERT INTO Person_AccountRole VALUES (5,4); | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment