Jean-Francois Leveque

Refactoring des comptes vers dénomination Account : import.sql (non détecté par IDEA)

......@@ -13,7 +13,7 @@
-- (10, 'Allemagne'),
-- (11, 'Pologne'),
-- (12, 'Italie');
INSERT INTO Person (userId, username, password, firstName, lastName, nickname, email, activated, anonymous, visible,
INSERT INTO Account (userId, username, password, firstName, lastName, nickname, email, activated, anonymous, visible,
criticProvider) VALUES
(1, '1', null, '1f', '1l', '1n', '1@raza.org', TRUE, TRUE, TRUE, TRUE),
(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
-- (2, 0, 1, 2, {ts '2010-06-20 14:27:35'}, 2),
-- (3, 0, 1, 4, {ts '2015-01-01 16:18:17'}, 3);
INSERT INTO UserRole (userRoleId, rolename, visible) VALUES
INSERT INTO AccountRole (userRoleId, rolename, visible) VALUES
(1, 'VISITEUR', TRUE),
(2,'RECRUE', TRUE),
(3, 'CONTRIBUTEUR', TRUE),
(4, 'ADMINISTRATEUR', TRUE),
(5, 'RETRAITE', TRUE),
(6, 'ASSOCE', TRUE);
INSERT INTO UserProperty (userPropertyId, name, tag, visible) VALUES
INSERT INTO AccountProperty (userPropertyId, name, tag, visible) VALUES
(1, 'nb_vignettes', 'Nombre de vignettes en home', TRUE),
(2, 'avatar', 'Lien vers une icône ou une photo', TRUE),
(3, 'tagline', 'Ligne de présentation pour les contributeurs', TRUE),
(4, 'taille_listes', 'Nombre d''éléments affichés dans les listes', TRUE),
(5,'skin', 'Thème visuel', TRUE);
INSERT INTO Person_UserRole VALUES (1,2);
INSERT INTO Person_UserRole VALUES (2,2);
INSERT INTO Person_UserRole VALUES (3,2);
INSERT INTO Person_UserRole VALUES (4,2);
INSERT INTO Person_UserRole VALUES (5,2);
INSERT INTO Person_UserRole VALUES (6,2);
INSERT INTO Person_UserRole VALUES (5,4);
\ No newline at end of file
INSERT INTO Person_AccountRole VALUES (1,2);
INSERT INTO Person_AccountRole VALUES (2,2);
INSERT INTO Person_AccountRole VALUES (3,2);
INSERT INTO Person_AccountRole VALUES (4,2);
INSERT INTO Person_AccountRole VALUES (5,2);
INSERT INTO Person_AccountRole VALUES (6,2);
INSERT INTO Person_AccountRole VALUES (5,4);
\ No newline at end of file
......