Commit 0757abc9 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

SQL : ajout création des séquences pour privilèges.

parent 26f30af5
......@@ -178,6 +178,10 @@ END UNICAEN_IMPORT;
* Privilèges
*********************************************************************************************/
create sequence CATEGORIE_PRIVILEGE_ID_SEQ;
/
insert into CATEGORIE_PRIVILEGE (ID, CODE, LIBELLE, ORDRE) values (
CATEGORIE_PRIVILEGE_ID_SEQ.nextval,
'import',
......@@ -187,6 +191,10 @@ insert into CATEGORIE_PRIVILEGE (ID, CODE, LIBELLE, ORDRE) values (
/
create sequence PRIVILEGE_ID_SEQ;
/
insert into PRIVILEGE (ID, CATEGORIE_ID, CODE, LIBELLE, ORDRE) select
PRIVILEGE_ID_SEQ.nextval,
cat.id,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment