Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
+++ /dev/null
-CREATE TABLE config.hold_type (
- id SERIAL,
- hold_type TEXT UNIQUE,
- description TEXT
-);
-
-INSERT INTO config.hold_type (hold_type,description) VALUES
- ('C','Copy Hold'),
- ('V','Volume Hold'),
- ('T','Title Hold'),
- ('M','Metarecord Hold'),
- ('R','Recall Hold'),
- ('F','Force Hold'),
- ('I','Issuance Hold'),
- ('P','Part Hold')
-;
-
-ALTER TABLE action.hold_request ADD CONSTRAINT hold_request_hold_type_fkey FOREIGN KEY (hold_type) REFERENCES config.hold_type(hold_type) DEFERRABLE INITIALLY DEFERRED;
-