[open-ils-commits] r14726 - trunk/Open-ILS/src/sql/Pg (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Nov 2 17:48:21 EST 2009


Author: scottmk
Date: 2009-11-02 17:48:15 -0500 (Mon, 02 Nov 2009)
New Revision: 14726

Modified:
   trunk/Open-ILS/src/sql/Pg/040.schema.asset.sql
   trunk/Open-ILS/src/sql/Pg/090.schema.action.sql
Log:
Change default of mint_condition to true

M    Pg/090.schema.action.sql
M    Pg/040.schema.asset.sql


Modified: trunk/Open-ILS/src/sql/Pg/040.schema.asset.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/040.schema.asset.sql	2009-11-02 22:46:38 UTC (rev 14725)
+++ trunk/Open-ILS/src/sql/Pg/040.schema.asset.sql	2009-11-02 22:48:15 UTC (rev 14726)
@@ -77,7 +77,7 @@
 	deleted		BOOL				NOT NULL DEFAULT FALSE,
 	dummy_isbn      TEXT,
 	status_changed_time TIMESTAMP WITH TIME ZONE,
-	mint_condition      BOOL        NOT NULL DEFAULT FALSE
+	mint_condition      BOOL        NOT NULL DEFAULT TRUE
 );
 CREATE UNIQUE INDEX copy_barcode_key ON asset.copy (barcode) WHERE deleted IS FALSE;
 CREATE INDEX cp_cn_idx ON asset.copy (call_number);

Modified: trunk/Open-ILS/src/sql/Pg/090.schema.action.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/090.schema.action.sql	2009-11-02 22:46:38 UTC (rev 14725)
+++ trunk/Open-ILS/src/sql/Pg/090.schema.action.sql	2009-11-02 22:48:15 UTC (rev 14726)
@@ -355,7 +355,7 @@
 	thaw_date		TIMESTAMP WITH TIME ZONE,
 	shelf_time		TIMESTAMP WITH TIME ZONE,
     cut_in_line     BOOL,
-	mint_condition  BOOL NOT NULL DEFAULT FALSE
+	mint_condition  BOOL NOT NULL DEFAULT TRUE
 );
 
 CREATE INDEX hold_request_target_idx ON action.hold_request (target);



More information about the open-ils-commits mailing list