and then the auditor tables..
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 16 Apr 2010 18:51:53 +0000 (18:51 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 16 Apr 2010 18:51:53 +0000 (18:51 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16258 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0236.schema.auditor-acq-invoice-complete.sql [new file with mode: 0644]

index e9ed813..16b0bb9 100644 (file)
@@ -60,7 +60,7 @@ CREATE TABLE config.upgrade_log (
     install_date    TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
 );
 
-INSERT INTO config.upgrade_log (version) VALUES ('0235'); -- berick
+INSERT INTO config.upgrade_log (version) VALUES ('0236'); -- berick
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/0236.schema.auditor-acq-invoice-complete.sql b/Open-ILS/src/sql/Pg/upgrade/0236.schema.auditor-acq-invoice-complete.sql
new file mode 100644 (file)
index 0000000..f55eb4c
--- /dev/null
@@ -0,0 +1,8 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0236');
+
+ALTER TABLE auditor.acq_invoice_history
+    ADD COLUMN complete BOOL NOT NULL DEFAULT FALSE;
+
+COMMIT;