fixed some syntax errors
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 22 Oct 2009 19:06:03 +0000 (19:06 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 22 Oct 2009 19:06:03 +0000 (19:06 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14567 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/upgrade/0049.schema.acq_funding_allocation_percent.sql

index 8cbba71..f47ec48 100644 (file)
@@ -16,7 +16,7 @@ CREATE TABLE acq.fund_allocation_percent
     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 @@ INSERT INTO acq.fund_allocation_percent
     WHERE
         fa.percent is not null
     ORDER BY
-        fund.org,
+        fund.org;
 
 -- Temporary function to convert percentages to amounts in acq.fund_allocation