From: remillet Date: Thu, 14 May 2015 20:35:14 +0000 (-0700) Subject: CSPACE-6643: Added new id generator for Exhibition procedure. X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=0e751fc25640114004857538e6c8dd3d4062b3e0;p=tmp%2Fjakarta-migration.git CSPACE-6643: Added new id generator for Exhibition procedure. --- diff --git a/services/common/src/main/resources/db/postgresql/load_id_generators.sql b/services/common/src/main/resources/db/postgresql/load_id_generators.sql index 8b5ed46f2..89595c1aa 100644 --- a/services/common/src/main/resources/db/postgresql/load_id_generators.sql +++ b/services/common/src/main/resources/db/postgresql/load_id_generators.sql @@ -40,6 +40,43 @@ * initial value is '1'). */ +-- EXHIBITION_NUMBER + +INSERT INTO id_generators + (csid, displayname, description, priority, last_generated_id, id_generator_state) + SELECT + '29ff8c5e-597a-41c6-a481-6e92dfe0a59f', + 'Exhibition Number', + 'Identifies exhibition activities, in which one +or more exhibition events occur at an institution.', + '9', + '', +' + + + EXH + EXH + + + + + + . + . + + + 6 + 1 + -1 + + +' + WHERE '29ff8c5e-597a-41c6-a481-6e92dfe0a59f' NOT IN + ( + SELECT csid + FROM id_generators + ); + -- ACCESSION_LOT_NUMBER INSERT INTO id_generators