Change default of mint_condition to true
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 2 Nov 2009 22:48:15 +0000 (22:48 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 2 Nov 2009 22:48:15 +0000 (22:48 +0000)
M    Pg/090.schema.action.sql
M    Pg/040.schema.asset.sql

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14726 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/040.schema.asset.sql
Open-ILS/src/sql/Pg/090.schema.action.sql

index 6f9034c..f701f47 100644 (file)
@@ -77,7 +77,7 @@ CREATE TABLE asset.copy (
        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);
index 21a5a9a..6508d8b 100644 (file)
@@ -355,7 +355,7 @@ CREATE TABLE action.hold_request (
        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);