[open-ils-commits] r8656 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Feb 6 01:53:20 EST 2008
Author: miker
Date: 2008-02-06 01:24:56 -0500 (Wed, 06 Feb 2008)
New Revision: 8656
Modified:
trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql
Log:
use serial instead of plain INT for pkey on circ_mod_test table
Modified: trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql 2008-02-06 04:18:00 UTC (rev 8655)
+++ trunk/Open-ILS/src/sql/Pg/100.circ_matrix.sql 2008-02-06 06:24:56 UTC (rev 8656)
@@ -120,10 +120,10 @@
-- Tests for max items out by circ_modifier
CREATE TABLE config.circ_matrix_circ_mod_test (
- id INT PRIMARY KEY,
+ id SERIAL PRIMARY KEY,
matchpoint INT NOT NULL REFERENCES config.circ_matrix_matchpoint (id) ON DELETE CASCADE,
items_out INT NOT NULL, -- Total current active circulations must be less than this, NULL means skip (always pass)
- circ_mod TEXT NOT NULL REFERENCES config.circ_modifier (code) ON DELETE CASCADE ON UPDATE CASCADE -- circ_modifier type that the max out applies to
+ circ_mod TEXT NOT NULL REFERENCES config.circ_modifier (code) ON DELETE CASCADE ON UPDATE CASCADE -- circ_modifier type that the max out applies to
);
More information about the open-ils-commits
mailing list