From: erickson Date: Thu, 22 Oct 2009 19:06:03 +0000 (+0000) Subject: fixed some syntax errors X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ed5935bda3aca43ffbf292e2007024b6170bc7e2;p=evergreen%2Fmasslnc.git fixed some syntax errors git-svn-id: svn://svn.open-ils.org/ILS/trunk@14567 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/upgrade/0049.schema.acq_funding_allocation_percent.sql b/Open-ILS/src/sql/Pg/upgrade/0049.schema.acq_funding_allocation_percent.sql index 8cbba7131f..f47ec484bf 100644 --- a/Open-ILS/src/sql/Pg/upgrade/0049.schema.acq_funding_allocation_percent.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0049.schema.acq_funding_allocation_percent.sql @@ -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