See KCLS ticket 2249.
M Open-ILS/src/sql/Pg/200.schema.acq.sql
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0163.schema.acq.provider-prepayment-required.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15563
dcc99617-32d9-48b4-a31d-
7c20da2025e4
<field reporter:label="SAN" name="san" reporter:datatype="text" />
<field reporter:label="EDI Default" name="edi_default" reporter:datatype="link" />
<field reporter:label="Active" name="active" reporter:datatype="bool" />
+ <field reporter:label="Prepayment Required" name="prepayment_required" reporter:datatype="bool" />
</fields>
<links>
<link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0162'); --miker
+INSERT INTO config.upgrade_log (version) VALUES ('0163'); --Scott McKellar
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
san TEXT,
edi_default INT, -- REFERENCES acq.edi_account (id) DEFERRABLE INITIALLY DEFERRED
active BOOL NOT NULL DEFAULT TRUE,
+ prepayment_required BOOL NOT NULL DEFAULT FALSE,
CONSTRAINT provider_name_once_per_owner UNIQUE (name,owner),
CONSTRAINT code_once_per_owner UNIQUE (code, owner)
);
--- /dev/null
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0163'); -- Scott McKellar
+
+ALTER TABLE acq.provider
+ ADD COLUMN prepayment_required BOOLEAN NOT NULL DEFAULT FALSE;
+
+COMMIT;