From: dbs Date: Wed, 26 Nov 2008 04:27:20 +0000 (+0000) Subject: Backport r11350 from trunk - synchronize data types for FKs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d3c958dbbd961919bf14f9e12c49d12ec7396321;p=Evergreen.git Backport r11350 from trunk - synchronize data types for FKs git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@11351 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/012.schema.vandelay.sql b/Open-ILS/src/sql/Pg/012.schema.vandelay.sql index 737b3ec77f..dbdd1575c9 100644 --- a/Open-ILS/src/sql/Pg/012.schema.vandelay.sql +++ b/Open-ILS/src/sql/Pg/012.schema.vandelay.sql @@ -69,7 +69,7 @@ CREATE TABLE vandelay.import_item_attr_definition ( CREATE TABLE vandelay.bib_queue ( queue_type TEXT NOT NULL DEFAULT 'bib' CHECK (queue_type = 'bib'), - item_attr_def TEXT REFERENCES vandelay.import_item_attr_definition (id) ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED, + item_attr_def BIGINT REFERENCES vandelay.import_item_attr_definition (id) ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED, CONSTRAINT vand_bib_queue_name_once_per_owner_const UNIQUE (owner,name,queue_type) ) INHERITS (vandelay.queue); ALTER TABLE vandelay.bib_queue ADD PRIMARY KEY (id);