Commit acd66b39 authored by Cedric Caffy's avatar Cedric Caffy
Browse files

All Catalogue IDs start at 1 except ARCHIVE_FILE_ID

parent 186c9fd8
......@@ -8,7 +8,7 @@ CREATE SEQUENCE ARCHIVE_FILE_ID_SEQ
NOORDER;
CREATE SEQUENCE LOGICAL_LIBRARY_ID_SEQ
INCREMENT BY 1
START WITH 4294967296
START WITH 1
NOMAXVALUE
MINVALUE 1
NOCYCLE
......@@ -16,7 +16,7 @@ CREATE SEQUENCE LOGICAL_LIBRARY_ID_SEQ
NOORDER;
CREATE SEQUENCE MEDIA_TYPE_ID_SEQ
INCREMENT BY 1
START WITH 4294967296
START WITH 1
NOMAXVALUE
MINVALUE 1
NOCYCLE
......@@ -24,7 +24,7 @@ CREATE SEQUENCE MEDIA_TYPE_ID_SEQ
NOORDER;
CREATE SEQUENCE STORAGE_CLASS_ID_SEQ
INCREMENT BY 1
START WITH 4294967296
START WITH 1
NOMAXVALUE
MINVALUE 1
NOCYCLE
......@@ -32,7 +32,7 @@ CREATE SEQUENCE STORAGE_CLASS_ID_SEQ
NOORDER;
CREATE SEQUENCE TAPE_POOL_ID_SEQ
INCREMENT BY 1
START WITH 4294967296
START WITH 1
NOMAXVALUE
MINVALUE 1
NOCYCLE
......@@ -40,7 +40,7 @@ CREATE SEQUENCE TAPE_POOL_ID_SEQ
NOORDER;
CREATE SEQUENCE VIRTUAL_ORGANIZATION_ID_SEQ
INCREMENT BY 1
START WITH 4294967296
START WITH 1
NOMAXVALUE
MINVALUE 1
NOCYCLE
......
......@@ -3812,7 +3812,7 @@ namespace catalogue{
" NOORDER;"
"CREATE SEQUENCE LOGICAL_LIBRARY_ID_SEQ"
" INCREMENT BY 1"
" START WITH 4294967296"
" START WITH 1"
" NOMAXVALUE"
" MINVALUE 1"
" NOCYCLE"
......@@ -3820,7 +3820,7 @@ namespace catalogue{
" NOORDER;"
"CREATE SEQUENCE MEDIA_TYPE_ID_SEQ"
" INCREMENT BY 1"
" START WITH 4294967296"
" START WITH 1"
" NOMAXVALUE"
" MINVALUE 1"
" NOCYCLE"
......@@ -3828,7 +3828,7 @@ namespace catalogue{
" NOORDER;"
"CREATE SEQUENCE STORAGE_CLASS_ID_SEQ"
" INCREMENT BY 1"
" START WITH 4294967296"
" START WITH 1"
" NOMAXVALUE"
" MINVALUE 1"
" NOCYCLE"
......@@ -3836,7 +3836,7 @@ namespace catalogue{
" NOORDER;"
"CREATE SEQUENCE TAPE_POOL_ID_SEQ"
" INCREMENT BY 1"
" START WITH 4294967296"
" START WITH 1"
" NOMAXVALUE"
" MINVALUE 1"
" NOCYCLE"
......@@ -3844,7 +3844,7 @@ namespace catalogue{
" NOORDER;"
"CREATE SEQUENCE VIRTUAL_ORGANIZATION_ID_SEQ"
" INCREMENT BY 1"
" START WITH 4294967296"
" START WITH 1"
" NOMAXVALUE"
" MINVALUE 1"
" NOCYCLE"
......
......@@ -8,7 +8,7 @@ CREATE SEQUENCE ARCHIVE_FILE_ID_SEQ
NOORDER;
CREATE SEQUENCE LOGICAL_LIBRARY_ID_SEQ
INCREMENT BY 1
START WITH 4294967296
START WITH 1
NOMAXVALUE
MINVALUE 1
NOCYCLE
......@@ -16,7 +16,7 @@ CREATE SEQUENCE LOGICAL_LIBRARY_ID_SEQ
NOORDER;
CREATE SEQUENCE MEDIA_TYPE_ID_SEQ
INCREMENT BY 1
START WITH 4294967296
START WITH 1
NOMAXVALUE
MINVALUE 1
NOCYCLE
......@@ -24,7 +24,7 @@ CREATE SEQUENCE MEDIA_TYPE_ID_SEQ
NOORDER;
CREATE SEQUENCE STORAGE_CLASS_ID_SEQ
INCREMENT BY 1
START WITH 4294967296
START WITH 1
NOMAXVALUE
MINVALUE 1
NOCYCLE
......@@ -32,7 +32,7 @@ CREATE SEQUENCE STORAGE_CLASS_ID_SEQ
NOORDER;
CREATE SEQUENCE TAPE_POOL_ID_SEQ
INCREMENT BY 1
START WITH 4294967296
START WITH 1
NOMAXVALUE
MINVALUE 1
NOCYCLE
......@@ -40,7 +40,7 @@ CREATE SEQUENCE TAPE_POOL_ID_SEQ
NOORDER;
CREATE SEQUENCE VIRTUAL_ORGANIZATION_ID_SEQ
INCREMENT BY 1
START WITH 4294967296
START WITH 1
NOMAXVALUE
MINVALUE 1
NOCYCLE
......
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