M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0273.schema.config-circ-mod-avg-wait.sql
M Open-ILS/src/sql/Pg/100.circ_matrix.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16475
dcc99617-32d9-48b4-a31d-
7c20da2025e4
<field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
<field reporter:label="SIP2 Media Type" name="sip2_media_type" reporter:datatype="text" oils_persist:i18n="true"/>
<field reporter:label="Magnetic Media" name="magnetic_media" reporter:datatype="bool"/>
+ <field reporter:label="Average Wait Time" name="avg_wait_time" reporter:datatype="interval"/>
</fields>
<links/>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0272'); -- miker
+INSERT INTO config.upgrade_log (version) VALUES ('0273'); -- Scott McKellar
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
name TEXT UNIQUE NOT NULL,
description TEXT NOT NULL,
sip2_media_type TEXT NOT NULL,
- magnetic_media BOOL NOT NULL DEFAULT TRUE
+ magnetic_media BOOL NOT NULL DEFAULT TRUE,
+ avg_wait_time INTERVAL
);
/*
--- /dev/null
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0273'); -- Scott McKellar
+
+ALTER TABLE config.circ_modifier
+ ADD COLUMN avg_wait_time INTERVAL;
+
+COMMIT;