[open-ils-commits] r11351 - branches/rel_1_4/Open-ILS/src/sql/Pg

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Nov 25 23:27:22 EST 2008


Author: dbs
Date: 2008-11-25 23:27:20 -0500 (Tue, 25 Nov 2008)
New Revision: 11351

Modified:
   branches/rel_1_4/Open-ILS/src/sql/Pg/012.schema.vandelay.sql
Log:
Backport r11350 from trunk - synchronize data types for FKs

Modified: branches/rel_1_4/Open-ILS/src/sql/Pg/012.schema.vandelay.sql
===================================================================
--- branches/rel_1_4/Open-ILS/src/sql/Pg/012.schema.vandelay.sql	2008-11-25 22:47:30 UTC (rev 11350)
+++ branches/rel_1_4/Open-ILS/src/sql/Pg/012.schema.vandelay.sql	2008-11-26 04:27:20 UTC (rev 11351)
@@ -69,7 +69,7 @@
 
 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);



More information about the open-ils-commits mailing list