[open-ils-commits] r14567 - trunk/Open-ILS/src/sql/Pg/upgrade (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Oct 22 15:06:07 EDT 2009


Author: erickson
Date: 2009-10-22 15:06:03 -0400 (Thu, 22 Oct 2009)
New Revision: 14567

Modified:
   trunk/Open-ILS/src/sql/Pg/upgrade/0049.schema.acq_funding_allocation_percent.sql
Log:
fixed some syntax errors

Modified: trunk/Open-ILS/src/sql/Pg/upgrade/0049.schema.acq_funding_allocation_percent.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0049.schema.acq_funding_allocation_percent.sql	2009-10-22 18:55:14 UTC (rev 14566)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0049.schema.acq_funding_allocation_percent.sql	2009-10-22 19:06:03 UTC (rev 14567)
@@ -16,7 +16,7 @@
     fund_code            TEXT,
     percent              NUMERIC           NOT NULL,
     allocator            INTEGER           NOT NULL REFERENCES actor.usr
-                                               DEFERRABLE_INITIALLY DEFERRED,
+                                               DEFERRABLE INITIALLY DEFERRED,
     note                 TEXT,
     create_time          TIMESTAMPTZ       NOT NULL DEFAULT now(),
     CONSTRAINT logical_key UNIQUE( funding_source, org, fund_code ),
@@ -114,7 +114,7 @@
     WHERE
         fa.percent is not null
     ORDER BY
-        fund.org,
+        fund.org;
 
 -- Temporary function to convert percentages to amounts in acq.fund_allocation
 



More information about the open-ils-commits mailing list