From: dbs Date: Tue, 3 Aug 2010 02:24:24 +0000 (+0000) Subject: Correct DDL for creating a fresh schema - match upgrade 0356 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8614409dfbb5b49250eb450c6408efad32473503;p=evergreen%2Fbjwebb.git Correct DDL for creating a fresh schema - match upgrade 0356 git-svn-id: svn://svn.open-ils.org/ILS/trunk@17065 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/200.schema.acq.sql b/Open-ILS/src/sql/Pg/200.schema.acq.sql index 0b892e178..289cd793b 100644 --- a/Open-ILS/src/sql/Pg/200.schema.acq.sql +++ b/Open-ILS/src/sql/Pg/200.schema.acq.sql @@ -759,7 +759,7 @@ CREATE TABLE acq.edi_account ( -- similar tables can extend remote_account ) INHERITS (config.remote_account); -- We need a UNIQUE constraint here also, to support the FK from acq.provider.edi_default -ALTER TABLE acq.edi_account ADD CONSTRAINT PRIMARY KEY (id); +ALTER TABLE acq.edi_account ADD PRIMARY KEY (id); CREATE TABLE acq.edi_message ( id SERIAL PRIMARY KEY,