Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2017-01-18 11:31:27 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1bcb7a06bf1a2468cf47bcb9d4c4ae043b37c877
1bcb7a06
1 parent
1ea63b76
Refactoring des comptes vers dénomination Account : import.sql (non détecté par IDEA)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
src/main/resources/import.sql
src/main/resources/import.sql
View file @
1bcb7a0
...
...
@@ -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
User
Role
(
userRoleId
,
rolename
,
visible
)
VALUES
INSERT
INTO
Account
Role
(
userRoleId
,
rolename
,
visible
)
VALUES
(
1
,
'VISITEUR'
,
TRUE
),
(
2
,
'RECRUE'
,
TRUE
),
(
3
,
'CONTRIBUTEUR'
,
TRUE
),
(
4
,
'ADMINISTRATEUR'
,
TRUE
),
(
5
,
'RETRAITE'
,
TRUE
),
(
6
,
'ASSOCE'
,
TRUE
);
INSERT
INTO
User
Property
(
userPropertyId
,
name
,
tag
,
visible
)
VALUES
INSERT
INTO
Account
Property
(
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
...
...
Please
register
or
login
to post a comment