Related to ticket #2248.
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/0154.schema.provider-active.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15473
dcc99617-32d9-48b4-a31d-
7c20da2025e4
<field reporter:label="Addresses" name="addresses" oils_persist:virtual="true" reporter:datatype="link" />
<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" />
</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 ('0153'); -- Scott McKellar
+INSERT INTO config.upgrade_log (version) VALUES ('0154'); -- Scott McKellar
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
holding_tag TEXT,
san TEXT,
edi_default INT, -- REFERENCES acq.edi_account (id) DEFERRABLE INITIALLY DEFERRED
+ active BOOL NOT NULL DEFAULT TRUE,
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 ('0154'); -- Scott McKellar
+
+ALTER TABLE acq.provider
+ ADD COLUMN active BOOL NOT NULL DEFAULT TRUE;
+
+COMMIT;