<?xml version="1.0" encoding="UTF-8" ?>\r
-<appendix id="databaseschema">\r
+<chapter id="databaseschema">\r
<title>Database Schema</title>\r
<para>This is the schema for the Evergreen database.</para>\r
\r
<section id="acq.schema">\r
<title>Schema acq</title>\r
\r
- <simplesect id="acq.table.currency-type" xreflabel="acq.currency_type"> \r
- <title>currency_type</title>\r
+ <simplesect id="acq.table.acq-lineitem-history" xreflabel="acq.acq_lineitem_history"> \r
+ <title>acq_lineitem_history</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry>audit_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>label</entry>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
<entry>text</entry>\r
- <entry></entry>\r
- </row> \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- <itemizedlist>\r
- <title>Tables referencing acq.exchange_rate via Foreign Key Constraints</title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.exchange-rate"/></para>\r
- </listitem><listitem>\r
- <para><xref linkend="acq.table.fund"/></para>\r
- </listitem><listitem>\r
- <para><xref linkend="acq.table.fund-debit"/></para>\r
- </listitem>\r
- <listitem>\r
- <para><xref linkend="acq.table.funding-source"/></para>\r
- </listitem>\r
- <listitem>\r
- <para><xref linkend="acq.table.provider"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.distribution-formula" xreflabel="acq.distribution_formula"> \r
- <title>distribution_formula</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>UNIQUE#1; NOT NULL; <xref linkend="actor.table.org-unit"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>UNIQUE#1; NOT NULL;</entry>\r
+ <entry>editor</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>skip_count</entry>\r
+ <entry>selector</entry>\r
<entry>integer</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.distribution_formula_entry via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.distribution-formula-entry"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.distribution-formula-entry" xreflabel="acq.distribution_formula_entry"> \r
- <title>distribution_formula_entry</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry>provider</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>formula</entry>\r
+ <entry>purchase_order</entry>\r
<entry>integer</entry>\r
- <entry>UNIQUE#1; NOT NULL; <xref linkend="acq.table.distribution-formula"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>position</entry>\r
+ <entry>picklist</entry>\r
<entry>integer</entry>\r
- <entry>UNIQUE#1; NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>item_count</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>expected_recv_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><xref linkend="actor.table.org-unit"/></entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry><xref linkend="asset.table.copy-location"/></entry>\r
+ <entry>edit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on distribution_formula_entry</title>\r
- \r
- <varlistentry>\r
- <term>acqdfe_must_ be_somewhere</term>\r
- <listitem><para>CHECK (((owning_lib IS NOT NULL) OR (location IS NOT NULL)))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.exchange-rate" xreflabel="acq.exchange_rate"> \r
- <title>exchange_rate</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>marc</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry>eg_bib_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>from_currency</entry>\r
+ <entry>source_label</entry>\r
<entry>text</entry>\r
- <entry>UNIQUE#1; NOT NULL; <xref linkend="acq.table.currency-type"/>\r
- \r
+ <entry><para>\r
+ \r
\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>to_currency</entry>\r
+ <entry>state</entry>\r
<entry>text</entry>\r
- <entry>UNIQUE#1; NOT NULL; <xref linkend="acq.table.currency-type"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ratio</entry>\r
+ <entry>cancel_reason</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>estimated_unit_price</entry>\r
<entry>numeric</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>claim_policy</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.fiscal-calendar" xreflabel="acq.fiscal_calendar"> \r
- <title>fiscal_calendar</title>\r
+ <simplesect id="acq.view.acq-lineitem-lifecycle" xreflabel="acq.acq_lineitem_lifecycle"> \r
+ <title>acq_lineitem_lifecycle</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry>?column?</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.fiscal_year via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fiscal-year"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.fiscal-year" xreflabel="acq.fiscal_year"> \r
- <title>fiscal_year</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>calendar</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>UNIQUE#1 ;UNIQUE#2; NOT NULL;\r
- <xref linkend="acq.table.fiscal-calendar"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>year</entry>\r
+ <entry>editor</entry>\r
<entry>integer</entry>\r
- <entry>UNIQUE#1; NOT NULL; </entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>year_begin</entry>\r
+ <entry>selector</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>provider</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>purchase_order</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>picklist</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>expected_recv_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>UNIQUE#2; NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>year_end</entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>edit_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>marc</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>eg_bib_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>source_label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>state</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cancel_reason</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>estimated_unit_price</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>claim_policy</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.fund" xreflabel="acq.fund"> \r
- <title>fund</title>\r
+ <simplesect id="acq.table.acq-purchase-order-history" xreflabel="acq.acq_purchase_order_history"> \r
+ <title>acq_purchase_order_history</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry>audit_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org</entry>\r
- <entry>integer</entry>\r
- <entry>UNIQUE#2; UNIQUE#1; NOT NULL; <xref linkend="actor.table.org-unit"/></entry>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
+ <entry>audit_action</entry>\r
<entry>text</entry>\r
- <entry>UNIQUE#1; NOT NULL;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>year</entry>\r
- <entry>integer</entry>\r
- <entry>UNIQUE#2; UNIQUE#1; NOT NULL; DEFAULT date_part( 'year'::text, now() );</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>currency_type</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.currency-type"/> </entry>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>UNIQUE#2;</entry>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.fund_allocation via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-allocation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-debit"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-tag-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.fund-allocation" xreflabel="acq.fund_allocation"> \r
- <title>fund_allocation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry>creator</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>funding_source</entry>\r
+ <entry>editor</entry>\r
<entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.funding-source"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fund</entry>\r
+ <entry>ordering_agency</entry>\r
<entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.fund"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry></entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>percent</entry>\r
- <entry>numeric</entry>\r
- <entry></entry>\r
+ <entry>edit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>allocator</entry>\r
+ <entry>provider</entry>\r
<entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="actor.table.usr"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
+ <entry>state</entry>\r
<entry>text</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
+ <entry>order_date</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>NOT NULL; DEFAULT now(); </entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on fund_allocation</title>\r
- \r
- <varlistentry>\r
- <term>allocation_amount _or_percent</term>\r
- <listitem><para>CHECK ((((percent IS NULL) AND (amount IS NOT NULL)) OR ((percent IS NOT NULL) AND (amount IS NULL))))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>fund_allocation_ percent_check</term>\r
- <listitem><para>CHECK (((percent IS NULL) OR ((percent >= 0.0) AND (percent <= 100.0))))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.fund-allocation-total" xreflabel="acq.fund_allocation_total"> \r
- <title>fund_allocation_total</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>fund</entry>\r
+ <entry>cancel_reason</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(100,2)</entry>\r
- <entry></entry>\r
+ <entry>prepayment_required</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.view.fund-combined-balance" xreflabel="acq.fund_combined_balance"> \r
- <title>fund_combined_balance</title>\r
+ <simplesect id="acq.view.acq-purchase-order-lifecycle" xreflabel="acq.acq_purchase_order_lifecycle"> \r
+ <title>acq_purchase_order_lifecycle</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry></entry>\r
+ <entry>?column?</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry></entry>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.fund-debit" xreflabel="acq.fund_debit"> \r
- <title>fund_debit</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fund</entry>\r
+ <entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.fund"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>origin_amount</entry>\r
- <entry>numeric</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>creator</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>origin_currency_type</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.currency-type"/> </entry>\r
+ <entry>editor</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>ordering_agency</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>encumbrance</entry>\r
- <entry>boolean</entry>\r
- <entry>NOT NULL; DEFAULT true;</entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>debit_type</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>edit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xfer_destination</entry>\r
+ <entry>provider</entry>\r
<entry>integer</entry>\r
- <entry><xref linkend="acq.table.fund"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>NOT NULL; DEFAULT now();</entry>\r
+ <entry>state</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.lineitem_detail via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.fund-debit-total" xreflabel="acq.fund_debit_total"> \r
- <title>fund_debit_total</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>order_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry></entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>encumbrance</entry>\r
- <entry>boolean</entry>\r
- <entry></entry>\r
+ <entry>cancel_reason</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry></entry>\r
+ <entry>prepayment_required</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.view.fund-encumbrance-total" xreflabel="acq.fund_encumbrance_total"> \r
- <title>fund_encumbrance_total</title>\r
+ <simplesect id="acq.view.all-fund-allocation-total" xreflabel="acq.all_fund_allocation_total"> \r
+ <title>all_fund_allocation_total</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>fund</entry>\r
<entry>integer</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>amount</entry>\r
<entry>numeric</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.view.fund-spent-balance" xreflabel="acq.fund_spent_balance"> \r
- <title>fund_spent_balance</title>\r
+ <simplesect id="acq.view.all-fund-combined-balance" xreflabel="acq.all_fund_combined_balance"> \r
+ <title>all_fund_combined_balance</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>fund</entry>\r
<entry>integer</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>amount</entry>\r
<entry>numeric</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.view.fund-spent-total" xreflabel="acq.fund_spent_total"> \r
- <title>fund_spent_total</title>\r
+ <simplesect id="acq.view.all-fund-encumbrance-total" xreflabel="acq.all_fund_encumbrance_total"> \r
+ <title>all_fund_encumbrance_total</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>fund</entry>\r
<entry>integer</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>amount</entry>\r
<entry>numeric</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.fund-tag" xreflabel="acq.fund_tag"> \r
- <title>fund_tag</title>\r
+ <simplesect id="acq.view.all-fund-spent-balance" xreflabel="acq.all_fund_spent_balance"> \r
+ <title>all_fund_spent_balance</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
+ <entry>fund</entry>\r
<entry>integer</entry>\r
- <entry>UNIQUE#1; NOT NULL; <xref linkend="actor.table.org-unit"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>UNIQUE#1; NOT NULL;</entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.fund_tag_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-tag-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.fund-tag-map" xreflabel="acq.fund_tag_map"> \r
- <title>fund_tag_map</title>\r
+ <simplesect id="acq.view.all-fund-spent-total" xreflabel="acq.all_fund_spent_total"> \r
+ <title>all_fund_spent_total</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
- </row>\r
- \r
- <row>\r
<entry>fund</entry>\r
<entry>integer</entry>\r
- <entry>UNIQUE#1; NOT NULL; <xref linkend="acq.table.fund"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>tag</entry>\r
- <entry>integer</entry>\r
- <entry>UNIQUE#1; <xref linkend="acq.table.fund-tag"/></entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.funding-source" xreflabel="acq.funding_source"> \r
- <title>funding_source</title>\r
+ <simplesect id="acq.table.cancel-reason" xreflabel="acq.cancel_reason"> \r
+ <title>cancel_reason</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>UNIQUE#1; NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
+ <entry>org_unit</entry>\r
<entry>integer</entry>\r
- <entry>UNIQUE#1; NOT NULL; <xref linkend="actor.table.org-unit"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>currency_type</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.currency-type"/></entry>\r
- </row>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>code</entry>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>description</entry>\r
<entry>text</entry>\r
- <entry>UNIQUE;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>keep_debits</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing acq.fund_allocation via Foreign Key Constraints\r
+ Tables referencing acq.lineitem via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="acq.table.fund-allocation"/></para>\r
+ <para><xref linkend="acq.table.lineitem"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="acq.table.funding-source-credit"/></para>\r
+ <para><xref linkend="acq.table.lineitem-detail"/></para>\r
</listitem>\r
\r
- </itemizedlist>\r
\r
\r
+ <listitem>\r
+ <para><xref linkend="acq.table.purchase-order"/></para>\r
+ </listitem>\r
+ \r
\r
\r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.funding-source-allocation-total" xreflabel="acq.funding_source_allocation_total"> \r
- <title>funding_source_allocation_total</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>funding_source</entry>\r
- <entry>integer</entry>\r
- <entry></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(100,2)</entry>\r
- <entry></entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
+ <listitem>\r
+ <para><xref linkend="acq.table.user-request"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
\r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.view.funding-source-balance" xreflabel="acq.funding_source_balance"> \r
- <title>funding_source_balance</title>\r
+ <simplesect id="acq.table.claim" xreflabel="acq.claim"> \r
+ <title>claim</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>funding_source</entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>type</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="acq.table.claim-type"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(100,2)</entry>\r
- <entry>\r
+ <entry>lineitem_detail</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.lineitem-detail"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.claim_event via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.claim-event"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.funding-source-credit" xreflabel="acq.funding_source_credit"> \r
- <title>funding_source_credit</title>\r
+ <simplesect id="acq.table.claim-event" xreflabel="acq.claim_event"> \r
+ <title>claim_event</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>funding_source</entry>\r
+ <entry>type</entry>\r
<entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.funding-source"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.claim-event-type"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>claim</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.claim"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry></entry>\r
+ <entry>event_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.view.funding-source-credit-total" xreflabel="acq.funding_source_credit_total"> \r
- <title>funding_source_credit_total</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>funding_source</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric</entry>\r
- <entry></entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.lineitem" xreflabel="acq.lineitem"> \r
- <title>lineitem</title>\r
+ <simplesect id="acq.table.claim-event-type" xreflabel="acq.claim_event_type"> \r
+ <title>claim_event_type</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>PRIMARY KEY</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="actor.table.usr"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL;<xref linkend="actor.table.usr"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>selector</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL;<xref linkend="actor.table.usr"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry><xref linkend="acq.table.provider"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>purchase_order</entry>\r
- <entry>integer</entry>\r
- <entry><xref linkend="acq.table.purchase-order"/></entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>picklist</entry>\r
+ <entry>org_unit</entry>\r
<entry>integer</entry>\r
- <entry><xref linkend="acq.table.picklist"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expected_recv_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>NOT NULL; DEFAULT now();</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>NOT NULL; DEFAULT now(); </entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>marc</entry>\r
+ <entry>code</entry>\r
<entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>eg_bib_id</entry>\r
- <entry>integer</entry>\r
- <entry><xref linkend="biblio.table.record-entry"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source_label</entry>\r
+ <entry>description</entry>\r
<entry>text</entry>\r
- <entry></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_count</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;DEFAULT 'new'::text;</entry>\r
+ <entry>library_initiated</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
- <variablelist>\r
- <title>Constraints on lineitem</title>\r
- \r
- <varlistentry>\r
- <term>picklist_or_po</term>\r
- <listitem><para>CHECK (((picklist IS NOT NULL) OR (purchase_order IS NOT NULL)))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
\r
<itemizedlist>\r
<title>\r
- Tables referencing acq.lineitem_attr via Foreign Key Constraints\r
+ Tables referencing acq.claim_event via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="acq.table.lineitem-attr"/></para>\r
+ <para><xref linkend="acq.table.claim-event"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
+ <para><xref linkend="acq.table.claim-policy-action"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="acq.table.lineitem-note"/></para>\r
+ <para><xref linkend="acq.table.serial-claim-event"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.lineitem-attr" xreflabel="acq.lineitem_attr"> \r
- <title>lineitem_attr</title>\r
+ <simplesect id="acq.table.claim-policy" xreflabel="acq.claim_policy"> \r
+ <title>claim_policy</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>PRIMARY KEY</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>definition</entry>\r
- <entry>bigint</entry>\r
- <entry>NOT NULL;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lineitem</entry>\r
- <entry>bigint</entry>\r
- <entry>NOT NULL;<xref linkend="acq.table.lineitem"/></entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>attr_type</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>org_unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>attr_name</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>attr_value</entry>\r
+ <entry>description</entry>\r
<entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.claim_policy_action via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.claim-policy-action"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.provider"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.lineitem-attr-definition" xreflabel="acq.lineitem_attr_definition"> \r
- <title>lineitem_attr_definition</title>\r
+ <simplesect id="acq.table.claim-policy-action" xreflabel="acq.claim_policy_action"> \r
+ <title>claim_policy_action</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>PRIMARY KEY</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>remove</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL; DEFAULT ''::text;</entry>\r
+ <entry>claim_policy</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.claim-policy"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry>NOT NULL; DEFAULT false;</entry>\r
+ <entry>action_interval</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>action</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.claim-event-type"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.lineitem-detail" xreflabel="acq.lineitem_detail"> \r
- <title>lineitem_detail</title>\r
+ <simplesect id="acq.table.claim-type" xreflabel="acq.claim_type"> \r
+ <title>claim_type</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>PRIMARY KEY</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lineitem</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.lineitem"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fund</entry>\r
- <entry>integer</entry>\r
- <entry><xref linkend="acq.table.fund"/></entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fund_debit</entry>\r
+ <entry>org_unit</entry>\r
<entry>integer</entry>\r
- <entry><xref linkend="acq.table.fund-debit"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>eg_copy_id</entry>\r
- <entry>bigint</entry>\r
- <entry><xref linkend="asset.table.copy"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cn_label</entry>\r
- <entry>text</entry>\r
- <entry></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>collection_code</entry>\r
+ <entry>code</entry>\r
<entry>text</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_modifier</entry>\r
+ <entry>description</entry>\r
<entry>text</entry>\r
- <entry><xref linkend="config.table.circ-modifier"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry><xref linkend="actor.table.org-unit"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry><xref linkend="asset.table.copy-location"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recv_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.claim via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.claim"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.serial-claim"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.lineitem-generated-attr-definition" xreflabel="acq.lineitem_generated_attr_definition"> \r
- <title>lineitem_generated_attr_definition</title>\r
+ <simplesect id="acq.table.currency-type" xreflabel="acq.currency_type"> \r
+ <title>currency_type</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>PRIMARY KEY DEFAULT nextval( 'lineitem_attr_definition_id_seq'::regclass );</entry>\r
- </row>\r
- \r
- <row>\r
<entry>code</entry>\r
<entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>remove</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL; DEFAULT ''::text;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry>NOT NULL; DEFAULT false;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xpath</entry>\r
+ <entry>label</entry>\r
<entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</informaltable>\r
<para>\r
\r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.exchange_rate via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.exchange-rate"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund-debit"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.funding-source"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.provider"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
</para>\r
</simplesect>\r
- <simplesect id="acq.table.lineitem-local-attr-definition" xreflabel="acq.lineitem_local_attr_definition"> \r
- <title>lineitem_local_attr_definition</title>\r
+ \r
+ <simplesect id="acq.table.debit-attribution" xreflabel="acq.debit_attribution"> \r
+ <title>debit_attribution</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>PRIMARY KEY DEFAULT nextval( 'lineitem_attr_definition_id_seq'::regclass );</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>fund_debit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.fund-debit"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>debit_amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>remove</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL; DEFAULT ''::text;</entry>\r
+ <entry>funding_source_credit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.funding-source-credit"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry>NOT NULL;DEFAULT false;</entry>\r
+ <entry>credit_amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.lineitem-marc-attr-definition" xreflabel="acq.lineitem_marc_attr_definition"> \r
- <title>lineitem_marc_attr_definition</title>\r
+ <simplesect id="acq.table.distribution-formula" xreflabel="acq.distribution_formula"> \r
+ <title>distribution_formula</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>PRIMARY KEY DEFAULT nextval( 'lineitem_attr_definition_id_seq'::regclass );</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>remove</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>NOT NULL; DEFAULT ''::text;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry>NOT NULL; DEFAULT false;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xpath</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>skip_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</informaltable>\r
<para>\r
\r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.distribution_formula_application via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.distribution-formula-application"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.distribution-formula-entry"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.lineitem-note" xreflabel="acq.lineitem_note"> \r
- <title>lineitem_note</title>\r
+ <simplesect id="acq.table.distribution-formula-application" xreflabel="acq.distribution_formula_application"> \r
+ <title>distribution_formula_application</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>lineitem</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.lineitem"/></entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="actor.table.usr"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="actor.table.usr"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>create_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>NOT NULL; DEFAULT now();</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>NOT NULL; DEFAULT now();</entry>\r
+ <entry>formula</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.distribution-formula"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>lineitem</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.lineitem"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.lineitem-provider-attr-definition" xreflabel="acq.lineitem_provider_attr_definition"> \r
- <title>lineitem_provider_attr_definition</title>\r
+ <simplesect id="acq.table.distribution-formula-entry" xreflabel="acq.distribution_formula_entry"> \r
+ <title>distribution_formula_entry</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>PRIMARY KEY DEFAULT nextval( 'lineitem_attr_definition_id_seq'::regclass );</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>formula</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.distribution-formula"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>remove</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL; DEFAULT ''::text;</entry>\r
+ <entry>position</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry>NOT NULL; DEFAULT false;</entry>\r
+ <entry>item_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xpath</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>provider</entry>\r
+ <entry>location</entry>\r
<entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.provider"/> </entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.copy-location"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on distribution_formula_entry</title>\r
+ \r
+ <varlistentry>\r
+ <term>acqdfe_must_be_somewhere</term>\r
+ <listitem><para>CHECK (((owning_lib IS NOT NULL) OR (location IS NOT NULL)))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.lineitem-usr-attr-definition" xreflabel="acq.lineitem_usr_attr_definition"> \r
- <title>lineitem_usr_attr_definition</title>\r
+ <simplesect id="acq.table.edi-account" xreflabel="acq.edi_account"> \r
+ <title>edi_account</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>PRIMARY KEY DEFAULT nextval( 'lineitem_attr_definition_id_seq'::regclass );\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ DEFAULT nextval('config.remote_account_id_seq'::regclass);\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>code</entry>\r
+ <entry>label</entry>\r
<entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
+ <entry>host</entry>\r
<entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>remove</entry>\r
+ <entry>username</entry>\r
<entry>text</entry>\r
- <entry>NOT NULL; DEFAULT ''::text;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ident</entry>\r
- <entry>boolean</entry>\r
- <entry>NOT NULL; DEFAULT false;</entry>\r
+ <entry>password</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="actor.table.usr"/></entry>\r
+ <entry>account</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.picklist" xreflabel="acq.picklist"> \r
- <title>picklist</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry>path</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>UNIQUE#1; NOT NULL; <xref linkend="actor.table.usr"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="actor.table.usr"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="actor.table.usr"/></entry>\r
+ <entry>last_activity</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org_unit</entry>\r
+ <entry>provider</entry>\r
<entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="actor.table.org-unit"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.provider"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
+ <entry>in_dir</entry>\r
<entry>text</entry>\r
- <entry>UNIQUE#1; NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>NOT NULL;DEFAULT now();</entry>\r
+ <entry>vendcode</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>NOT NULL;DEFAULT now();</entry>\r
+ <entry>vendacct</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing acq.lineitem via Foreign Key Constraints\r
+ Tables referencing acq.edi_message via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="acq.table.lineitem"/></para>\r
+ <para><xref linkend="acq.table.edi-message"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.provider"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.po-note" xreflabel="acq.po_note"> \r
- <title>po_note</title>\r
+ <simplesect id="acq.table.edi-message" xreflabel="acq.edi_message"> \r
+ <title>edi_message</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>purchase_order</entry>\r
+ <entry>account</entry>\r
<entry>integer</entry>\r
- <entry>NOT NULL;<xref linkend="acq.table.purchase-order"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.edi-account"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL;<xref linkend="actor.table.usr"/></entry>\r
+ <entry>remote_file</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL;<xref linkend="actor.table.usr"/></entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
+ <entry>translate_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>NOT NULL; DEFAULT now();</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>edit_time</entry>\r
+ <entry>process_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>NOT NULL; DEFAULT now();</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry> NOT NULL;</entry>\r
+ <entry>error_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.provider" xreflabel="acq.provider"> \r
- <title>provider</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry>status</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'new'::text;\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
+ <entry>edi</entry>\r
<entry>text</entry>\r
- <entry>UNIQUE#1;NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>UNIQUE#2;UNIQUE#1;NOT NULL;<xref linkend="actor.table.org-unit"/></entry>\r
+ <entry>jedi</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>currency_type</entry>\r
+ <entry>error</entry>\r
<entry>text</entry>\r
- <entry>NOT NULL;<xref linkend="acq.table.currency-type"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>UNIQUE#2;NOT NULL;</entry>\r
+ <entry>purchase_order</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.purchase-order"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>holding_tag</entry>\r
+ <entry>message_type</entry>\r
<entry>text</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</tgroup>\r
</informaltable>\r
<para>\r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.lineitem via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-provider-attr-definition"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.provider-address"/></para>\r
- </listitem>\r
- \r
\r
\r
- <listitem>\r
- <para><xref linkend="acq.table.provider-contact"/></para>\r
- </listitem>\r
- \r
- \r
+ <variablelist>\r
+ <title>Constraints on edi_message</title>\r
+ \r
+ <varlistentry>\r
+ <term>status_value</term>\r
+ <listitem><para>CHECK ((status = ANY (ARRAY['new'::text, 'translated'::text, 'trans_error'::text, 'processed'::text, 'proc_error'::text, 'delete_error'::text, 'retry'::text, 'complete'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
\r
- <listitem>\r
- <para><xref linkend="acq.table.provider-holding-subfield-map"/></para>\r
- </listitem>\r
- \r
\r
+ <varlistentry>\r
+ <term>valid_message_type</term>\r
+ <listitem><para>CHECK ((message_type = ANY (ARRAY['ORDERS'::text, 'ORDRSP'::text, 'INVOIC'::text, 'OSTENQ'::text, 'OSTRPT'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
\r
- <listitem>\r
- <para><xref linkend="acq.table.purchase-order"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
\r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.provider-address" xreflabel="acq.provider_address"> \r
- <title>provider_address</title>\r
+ <simplesect id="acq.table.exchange-rate" xreflabel="acq.exchange_rate"> \r
+ <title>exchange_rate</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>valid</entry>\r
- <entry>boolean</entry>\r
- <entry>NOT NULL; DEFAULT true;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>address_type</entry>\r
- <entry>text</entry>\r
- <entry></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.provider"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>street1</entry>\r
+ <entry>from_currency</entry>\r
<entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.currency-type"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>street2</entry>\r
+ <entry>to_currency</entry>\r
<entry>text</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.currency-type"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>city</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>county</entry>\r
- <entry>text</entry>\r
- <entry></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>country</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>post_code</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>ratio</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.provider-contact" xreflabel="acq.provider_contact"> \r
- <title>provider_contact</title>\r
+ <simplesect id="acq.table.fiscal-calendar" xreflabel="acq.fiscal_calendar"> \r
+ <title>fiscal_calendar</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.provider"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>name</entry>\r
<entry>text</entry>\r
- <entry></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>role</entry>\r
- <entry>text</entry>\r
- <entry></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone</entry>\r
- <entry>text</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing acq.provider_contact_address via Foreign Key Constraints\r
+ Tables referencing acq.fiscal_year via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="acq.table.provider-contact-address"/></para>\r
+ <para><xref linkend="acq.table.fiscal-year"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.org-unit"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.provider-contact-address" xreflabel="acq.provider_contact_address"> \r
- <title>provider_contact_address</title>\r
+ <simplesect id="acq.table.fiscal-year" xreflabel="acq.fiscal_year"> \r
+ <title>fiscal_year</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>valid</entry>\r
- <entry>boolean</entry>\r
- <entry>NOT NULL; DEFAULT true;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>address_type</entry>\r
- <entry>text</entry>\r
- <entry></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>contact</entry>\r
+ <entry>calendar</entry>\r
<entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.provider-contact"/></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street1</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street2</entry>\r
- <entry>text</entry>\r
- <entry></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>city</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>county</entry>\r
- <entry>text</entry>\r
- <entry></entry>\r
- </row>\r
- \r
- <row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>country</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
- </row>\r
- \r
- <row>\r
- <entry>post_code</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para></para>\r
- </simplesect>\r
- \r
- <simplesect id="acq.table.provider-holding-subfield-map" xreflabel="acq.provider_holding_subfield_map"> \r
- <title>provider_holding_subfield_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#2\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.fiscal-calendar"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>provider</entry>\r
+ <entry>year</entry>\r
<entry>integer</entry>\r
- <entry>UNIQUE#1; NOT NULL; <xref linkend="acq.table.provider"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>UNIQUE#1;NOT NULL;</entry>\r
+ <entry>year_begin</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#2\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>subfield</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>year_end</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="acq.table.purchase-order" xreflabel="acq.purchase_order"> \r
- <title>purchase_order</title>\r
+ <simplesect id="acq.table.fund" xreflabel="acq.fund"> \r
+ <title>fund</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>PRIMARY KEY</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
+ <entry>org</entry>\r
<entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="actor.table.usr"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#2\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="actor.table.usr"/></entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>editor</entry>\r
+ <entry>year</entry>\r
<entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="actor.table.usr"/></entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#2\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT date_part('year'::text, now());\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ordering_agency</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="actor.table.org-unit"/></entry>\r
+ <entry>currency_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.currency-type"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>NOT NULL; DEFAULT now();</entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#2\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>edit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>NOT NULL; DEFAULT now();</entry>\r
+ <entry>rollover</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>provider</entry>\r
- <entry>integer</entry>\r
- <entry>NOT NULL; <xref linkend="acq.table.provider"/></entry>\r
+ <entry>propagate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL; DEFAULT 'new'::text;</entry>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>order_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry></entry>\r
+ <entry>balance_warning_percent</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>NOT NULL;</entry>\r
+ <entry>balance_stop_percent</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on fund</title>\r
+ \r
+ <varlistentry>\r
+ <term>acq_fund_rollover_implies_propagate</term>\r
+ <listitem><para>CHECK ((propagate OR (NOT rollover)))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
\r
<itemizedlist>\r
<title>\r
- Tables referencing acq.lineitem via Foreign Key Constraints\r
+ Tables referencing acq.fund_allocation via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="acq.table.lineitem"/></para>\r
+ <para><xref linkend="acq.table.fund-allocation"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="acq.table.po-note"/></para>\r
+ <para><xref linkend="acq.table.fund-debit"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund-tag-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund-transfer"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.invoice-item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem-detail"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.po-item"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
- \r
+ \r
+ \r
+ \r
+ \r
</para>\r
</simplesect>\r
\r
- </section>\r
- \r
- <section id="action.schema">\r
- <title>Schema action</title>\r
- \r
- <simplesect id="action.table.aged-circulation" xreflabel="action.aged_circulation"> \r
- <title>aged_circulation</title>\r
+ <simplesect id="acq.table.fund-allocation" xreflabel="acq.fund_allocation"> \r
+ <title>fund_allocation</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>usr_post_code</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_home_ou</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr_profile</entry>\r
+ <entry>funding_source</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
- NOT NULL;\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr_birth_year</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.funding-source"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>copy_call_number</entry>\r
+ <entry>fund</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="acq.table.fund"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>copy_location</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>copy_owning_lib</entry>\r
+ <entry>allocator</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>copy_circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>copy_bib_record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.table.fund-allocation-percent" xreflabel="acq.fund_allocation_percent"> \r
+ <title>fund_allocation_percent</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>funding_source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- NOT NULL;\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.funding-source"/>\r
+ \r
+ \r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>org</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>fund_code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>percent</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>checkin_staff</entry>\r
+ <entry>allocator</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>renewal_remaining</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>due_date</entry>\r
+ <entry>create_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on fund_allocation_percent</title>\r
+ \r
+ <varlistentry>\r
+ <term>percentage_range</term>\r
+ <listitem><para>CHECK (((percent >= (0)::numeric) AND (percent <= (100)::numeric)))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.view.fund-allocation-total" xreflabel="acq.fund_allocation_total"> \r
+ <title>fund_allocation_total</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>fund</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric(100,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.view.fund-combined-balance" xreflabel="acq.fund_combined_balance"> \r
+ <title>fund_combined_balance</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>fund</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.table.fund-debit" xreflabel="acq.fund_debit"> \r
+ <title>fund_debit</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>fund</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.fund"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>origin_amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>origin_currency_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="acq.table.currency-type"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>duration_rule</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>encumbrance</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT true;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine_rule</entry>\r
+ <entry>debit_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>xfer_destination</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="acq.table.fund"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stop_fines</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.debit_attribution via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.debit-attribution"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.invoice-item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem-detail"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.po-item"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.view.all-circulation" xreflabel="action.all_circulation"> \r
- <title>all_circulation</title>\r
+ <simplesect id="acq.view.fund-debit-total" xreflabel="acq.fund_debit_total"> \r
+ <title>fund_debit_total</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>fund</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr_post_code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>encumbrance</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr_home_ou</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.view.fund-encumbrance-total" xreflabel="acq.fund_encumbrance_total"> \r
+ <title>fund_encumbrance_total</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>usr_profile</entry>\r
+ <entry>fund</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr_birth_year</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.view.fund-spent-balance" xreflabel="acq.fund_spent_balance"> \r
+ <title>fund_spent_balance</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>copy_call_number</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>fund</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>copy_location</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.view.fund-spent-total" xreflabel="acq.fund_spent_total"> \r
+ <title>fund_spent_total</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>copy_owning_lib</entry>\r
+ <entry>fund</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>copy_circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.table.fund-tag" xreflabel="acq.fund_tag"> \r
+ <title>fund_tag</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>copy_bib_record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ \r
\r
\r
\r
+ NOT NULL;\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
+ \r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- <row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.fund_tag_map via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund-tag-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.table.fund-tag-map" xreflabel="acq.fund_tag_map"> \r
+ <title>fund_tag_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>renewal_remaining</entry>\r
+ <entry>fund</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>due_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.fund"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>tag</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.fund-tag"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.table.fund-transfer" xreflabel="acq.fund_transfer"> \r
+ <title>fund_transfer</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>src_fund</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.fund"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>src_amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>dest_fund</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.fund"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>dest_amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>transfer_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>transfer_user</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration_rule</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine_rule</entry>\r
+ <entry>note</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>funding_source_credit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.funding-source-credit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.view.billable-circulations" xreflabel="action.billable_circulations"> \r
- <title>billable_circulations</title>\r
+ <simplesect id="acq.table.funding-source" xreflabel="acq.funding_source"> \r
+ <title>funding_source</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ \r
\r
\r
\r
+ NOT NULL;\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
+ \r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>currency_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.currency-type"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE;\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>renewal_remaining</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.fund_allocation via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund-allocation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund-allocation-percent"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.funding-source-credit"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.view.funding-source-allocation-total" xreflabel="acq.funding_source_allocation_total"> \r
+ <title>funding_source_allocation_total</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>due_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>funding_source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric(100,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.view.funding-source-balance" xreflabel="acq.funding_source_balance"> \r
+ <title>funding_source_balance</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>funding_source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric(100,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.table.funding-source-credit" xreflabel="acq.funding_source_credit"> \r
+ <title>funding_source_credit</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>funding_source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.funding-source"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>deadline_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>duration_rule</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry>effective_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recuring_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.debit_attribution via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.debit-attribution"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund-transfer"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.view.funding-source-credit-total" xreflabel="acq.funding_source_credit_total"> \r
+ <title>funding_source_credit_total</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>max_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>funding_source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stop_fines</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.view.billable-cirulations" xreflabel="action.billable_cirulations"> \r
- <title>billable_cirulations</title>\r
+ <simplesect id="acq.table.invoice" xreflabel="acq.invoice"> \r
+ <title>invoice</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>receiver</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>provider</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ \r
\r
\r
\r
+ NOT NULL;\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
\r
\r
+ \r
\r
+ \r
+ <xref linkend="acq.table.provider"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_lib</entry>\r
+ <entry>shipper</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="acq.table.provider"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>recv_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>checkin_staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>recv_method</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
\r
+ DEFAULT 'EDI'::text;\r
\r
\r
+ \r
+ <xref linkend="acq.table.invoice-method"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>inv_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>renewal_remaining</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>inv_ident</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>due_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>payment_auth</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>payment_method</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ <xref linkend="acq.table.invoice-payment-method"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>complete</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.invoice_entry via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.invoice-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.invoice-item"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.table.invoice-entry" xreflabel="acq.invoice_entry"> \r
+ <title>invoice_entry</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>invoice</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.invoice"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>purchase_order</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ <xref linkend="acq.table.purchase-order"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>lineitem</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.lineitem"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>inv_item_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>phys_item_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>duration_rule</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>billed_per_item</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>cost_billed</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>actual_cost</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stop_fines</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>amount_paid</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.circulation" xreflabel="action.circulation"> \r
- <title>circulation</title>\r
+ <simplesect id="acq.table.invoice-item" xreflabel="acq.invoice_item"> \r
+ <title>invoice_item</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('money.billable_xact_id_seq'::regclass);\r
- \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>invoice</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
+ <xref linkend="acq.table.invoice"/>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>purchase_order</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.purchase-order"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>fund_debit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="asset.table.copy"/>\r
+ <xref linkend="acq.table.fund-debit"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>inv_item_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="acq.table.invoice-item-type"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>checkin_staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>author</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>renewal_remaining</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>cost_billed</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>due_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>actual_cost</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>fund</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.fund"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>amount_paid</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>po_item</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT '1 day'::interval;\r
\r
+ \r
+ <xref linkend="acq.table.po-item"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>target</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.table.invoice-item-type" xreflabel="acq.invoice_item_type"> \r
+ <title>invoice_item_type</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
\r
<row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_renewal</entry>\r
+ <entry>prorate</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.invoice_item via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.invoice-item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.po-item"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.table.invoice-method" xreflabel="acq.invoice_method"> \r
+ <title>invoice_method</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>duration_rule</entry>\r
+ <entry>code</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recuring_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_fine_rule</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
- <variablelist>\r
- <title>Constraints on circulation</title>\r
- \r
- <varlistentry>\r
- <term>circulation_stop_ fines_check</term>\r
- <listitem><para>CHECK ((stop_fines = ANY (ARRAY['CHECKIN'::text, 'CLAIMSRETURNED'::text, 'LOST'::text, 'MAXFINES'::text, 'RENEW'::text, 'LONGOVERDUE'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.invoice via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.invoice"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
\r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.hold-copy-map" xreflabel="action.hold_copy_map"> \r
- <title>hold_copy_map</title>\r
+ <simplesect id="acq.table.invoice-payment-method" xreflabel="acq.invoice_payment_method"> \r
+ <title>invoice_payment_method</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hold</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="action.table.hold-request"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- \r
- <xref linkend="asset.table.copy"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.invoice via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.invoice"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.hold-notification" xreflabel="action.hold_notification"> \r
- <title>hold_notification</title>\r
+ <simplesect id="acq.table.lineitem" xreflabel="acq.lineitem"> \r
+ <title>lineitem</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>hold</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="action.table.hold-request"/>\r
+ <xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>notify_staff</entry>\r
+ <entry>editor</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
<xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>notify_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>method</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.hold-request" xreflabel="action.hold_request"> \r
- <title>hold_request</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>selector</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
\r
\r
\r
\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>request_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>capture_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fulfillment_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>return_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prev_check_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>expire_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
NOT NULL;\r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>current_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
\r
- <xref linkend="asset.table.copy"/>\r
+ <xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fulfillment_staff</entry>\r
+ <entry>provider</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
+ <xref linkend="acq.table.provider"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fulfillment_lib</entry>\r
+ <entry>purchase_order</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="acq.table.purchase-order"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>request_lib</entry>\r
+ <entry>picklist</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="acq.table.picklist"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>requestor</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry>expected_recv_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>selection_ou</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>edit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>selection_depth</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>marc</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pickup_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>eg_bib_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="biblio.table.record-entry"/>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hold_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>holdable_formats</entry>\r
+ <entry>source_label</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>phone_notify</entry>\r
+ <entry>state</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>email_notify</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT true;\r
+ DEFAULT 'new'::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>frozen</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>cancel_reason</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- DEFAULT false;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>thaw_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.cancel-reason"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>cancel_cause</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>estimated_unit_price</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>cancel_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>claim_policy</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>shelf_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.claim-policy"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
<variablelist>\r
- <title>Constraints on hold_request</title>\r
+ <title>Constraints on lineitem</title>\r
\r
<varlistentry>\r
- <term>hold_request_ hold_type_check</term>\r
- <listitem><para>CHECK ((hold_type = ANY (ARRAY['M'::text, 'T'::text, 'V'::text, 'C'::text])))</para></listitem>\r
+ <term>picklist_or_po</term>\r
+ <listitem><para>CHECK (((picklist IS NOT NULL) OR (purchase_order IS NOT NULL)))</para></listitem>\r
</varlistentry>\r
\r
</variablelist>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing action.hold_copy_map via Foreign Key Constraints\r
+ Tables referencing acq.distribution_formula_application via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="action.table.hold-copy-map"/></para>\r
+ <para><xref linkend="acq.table.distribution-formula-application"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="action.table.hold-notification"/></para>\r
+ <para><xref linkend="acq.table.invoice-entry"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="action.table.hold-transit-copy"/></para>\r
+ <para><xref linkend="acq.table.lineitem-attr"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem-detail"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.user-request"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.hold-request-cancel-cause" xreflabel="action.hold_request_cancel_cause"> \r
- <title>hold_request_cancel_cause</title>\r
+ <simplesect id="acq.table.lineitem-alert-text" xreflabel="acq.lineitem_alert_text"> \r
+ <title>lineitem_alert_text</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>label</entry>\r
+ <entry>code</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE;\r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
\r
\r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
\r
\r
+ \r
\r
\r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.lineitem_note via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem-note"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.hold-transit-copy" xreflabel="action.hold_transit_copy"> \r
- <title>hold_transit_copy</title>\r
+ <simplesect id="acq.table.lineitem-attr" xreflabel="acq.lineitem_attr"> \r
+ <title>lineitem_attr</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('transit_copy_id_seq'::regclass);\r
- \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source_send_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>definition</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dest_recv_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_copy</entry>\r
+ <entry>lineitem</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="asset.table.copy"/>\r
+ <xref linkend="acq.table.lineitem"/>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dest</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>attr_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>prev_hop</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>copy_status</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>attr_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>persistant_transfer</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>attr_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hold</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
\r
- \r
- \r
- <xref linkend="action.table.hold-request"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.in-house-use" xreflabel="action.in_house_use"> \r
- <title>in_house_use</title>\r
+ <simplesect id="acq.table.lineitem-attr-definition" xreflabel="acq.lineitem_attr_definition"> \r
+ <title>lineitem_attr_definition</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>item</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- <xref linkend="asset.table.copy"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>remove</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT ''::text;\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>use_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>ident</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.non-cat-in-house-use" xreflabel="action.non_cat_in_house_use"> \r
- <title>non_cat_in_house_use</title>\r
+ <simplesect id="acq.table.lineitem-detail" xreflabel="acq.lineitem_detail"> \r
+ <title>lineitem_detail</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>item_type</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>lineitem</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="config.table.non-cataloged-type"/>\r
+ <xref linkend="acq.table.lineitem"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>staff</entry>\r
+ <entry>fund</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
+ <xref linkend="acq.table.fund"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org_unit</entry>\r
+ <entry>fund_debit</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="acq.table.fund-debit"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>use_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>eg_copy_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>barcode</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action.table.non-cataloged-circulation" xreflabel="action.non_cataloged_circulation"> \r
- <title>non_cataloged_circulation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>cn_label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>patron</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>collection_code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>circ_modifier</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
+ <xref linkend="config.table.circ-modifier"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_lib</entry>\r
+ <entry>owning_lib</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
<xref linkend="actor.table.org-unit"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>item_type</entry>\r
+ <entry>location</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="config.table.non-cataloged-type"/>\r
+ <xref linkend="asset.table.copy-location"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_time</entry>\r
+ <entry>recv_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cancel_reason</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT now();\r
\r
+ \r
+ <xref linkend="acq.table.cancel-reason"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.claim via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.claim"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.view.open-circulation" xreflabel="action.open_circulation"> \r
- <title>open_circulation</title>\r
+ <simplesect id="acq.table.lineitem-generated-attr-definition" xreflabel="acq.lineitem_generated_attr_definition"> \r
+ <title>lineitem_generated_attr_definition</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
+ DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass);\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>remove</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT ''::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>checkin_staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>ident</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>renewal_remaining</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>xpath</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.table.lineitem-local-attr-definition" xreflabel="acq.lineitem_local_attr_definition"> \r
+ <title>lineitem_local_attr_definition</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>due_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
+ DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass);\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry>\r
- \r
- \r
+ <entry>remove</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT ''::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
- \r
+ <entry>ident</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.table.lineitem-marc-attr-definition" xreflabel="acq.lineitem_marc_attr_definition"> \r
+ <title>lineitem_marc_attr_definition</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
+ DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass);\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>duration_rule</entry>\r
+ <entry>description</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine_rule</entry>\r
+ <entry>remove</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT ''::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_fine_rule</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>ident</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stop_fines</entry>\r
+ <entry>xpath</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.reservation-transit-copy" xreflabel="action.reservation_transit_copy"> \r
- <title>reservation_transit_copy</title>\r
+ <simplesect id="acq.table.lineitem-note" xreflabel="acq.lineitem_note"> \r
+ <title>lineitem_note</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('transit_copy_id_seq'::regclass);\r
- \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source_send_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>lineitem</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dest_recv_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.lineitem"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>creator</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="booking.table.resource"/>\r
+ <xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source</entry>\r
+ <entry>editor</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dest</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>prev_hop</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>edit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>copy_status</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>persistant_transfer</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>alert_text</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
+ <xref linkend="acq.table.lineitem-alert-text"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>reservation</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>vendor_public</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
- \r
- <xref linkend="booking.table.reservation"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.survey" xreflabel="action.survey"> \r
- <title>survey</title>\r
+ <simplesect id="acq.table.lineitem-provider-attr-definition" xreflabel="acq.lineitem_provider_attr_definition"> \r
+ <title>lineitem_provider_attr_definition</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
+ DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass);\r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>start_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>end_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT (now() + '10 years'::interval);\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr_summary</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>remove</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
+ DEFAULT ''::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac</entry>\r
+ <entry>ident</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>poll</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>xpath</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>required</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
+ <entry>provider</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
+ \r
+ <xref linkend="acq.table.provider"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.survey_question via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.survey-question"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.survey-response"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.survey-answer" xreflabel="action.survey_answer"> \r
- <title>survey_answer</title>\r
+ <simplesect id="acq.table.lineitem-usr-attr-definition" xreflabel="acq.lineitem_usr_attr_definition"> \r
+ <title>lineitem_usr_attr_definition</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
+ DEFAULT nextval('acq.lineitem_attr_definition_id_seq'::regclass);\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>question</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
+ NOT NULL;\r
\r
\r
- NOT NULL;\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="action.table.survey-question"/>\r
- \r
+ NOT NULL;\r
+ \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>answer</entry>\r
+ <entry>remove</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT ''::text;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.survey_response via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.survey-response"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
+ <row>\r
+ <entry>ident</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
\r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.survey-question" xreflabel="action.survey_question"> \r
- <title>survey_question</title>\r
+ <simplesect id="acq.view.ordered-funding-source-credit" xreflabel="acq.ordered_funding_source_credit"> \r
+ <title>ordered_funding_source_credit</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>sort_priority</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>sort_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>survey</entry>\r
+ <entry>id</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>funding_source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="action.table.survey"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>question</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.survey_answer via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.survey-answer"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.survey-response"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.survey-response" xreflabel="action.survey_response"> \r
- <title>survey_response</title>\r
+ <simplesect id="acq.table.picklist" xreflabel="acq.picklist"> \r
+ <title>picklist</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>response_group_id</entry>\r
+ <entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>survey</entry>\r
+ <entry>editor</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="action.table.survey"/>\r
+ <xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>question</entry>\r
+ <entry>org_unit</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="action.table.survey-question"/>\r
+ <xref linkend="actor.table.org-unit"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>answer</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="action.table.survey-answer"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>answer_date</entry>\r
+ <entry>create_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>effective_date</entry>\r
+ <entry>edit_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.lineitem via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.transit-copy" xreflabel="action.transit_copy"> \r
- <title>transit_copy</title>\r
+ <simplesect id="acq.table.po-item" xreflabel="acq.po_item"> \r
+ <title>po_item</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source_send_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>purchase_order</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dest_recv_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.purchase-order"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>fund_debit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="asset.table.copy"/>\r
+ <xref linkend="acq.table.fund-debit"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>inv_item_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="acq.table.invoice-item-type"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dest</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>author</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>prev_hop</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>estimated_cost</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- \r
- <xref linkend="action.table.transit-copy"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>copy_status</entry>\r
+ <entry>fund</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="config.table.copy-status"/>\r
+ <xref linkend="acq.table.fund"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>persistant_transfer</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>target</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing action.transit_copy via Foreign Key Constraints\r
+ Tables referencing acq.invoice_item via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="action.table.transit-copy"/></para>\r
+ <para><xref linkend="acq.table.invoice-item"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action.table.unfulfilled-hold-list" xreflabel="action.unfulfilled_hold_list"> \r
- <title>unfulfilled_hold_list</title>\r
+ <simplesect id="acq.table.po-note" xreflabel="acq.po_note"> \r
+ <title>po_note</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>current_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>purchase_order</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="acq.table.purchase-order"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>hold</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_lib</entry>\r
+ <entry>editor</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fail_time</entry>\r
+ <entry>create_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="action-trigger.schema">\r
- <title>Schema action_trigger</title>\r
- \r
- <simplesect id="action-trigger.table.cleanup" xreflabel="action_trigger.cleanup"> \r
- <title>cleanup</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>module</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
+ <entry>edit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
+ <entry>value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>vendor_public</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event-definition"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action-trigger.table.collector" xreflabel="action_trigger.collector"> \r
- <title>collector</title>\r
+ <simplesect id="acq.table.provider" xreflabel="acq.provider"> \r
+ <title>provider</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>module</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
+ \r
\r
- \r
- </entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.environment via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.environment"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action-trigger.table.environment" xreflabel="action_trigger.environment"> \r
- <title>environment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
+ UNIQUE#1\r
+ ;\r
\r
- PRIMARY KEY\r
- \r
\r
\r
+ NOT NULL;\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>event_def</entry>\r
+ <entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#2\r
+ ;\r
+ \r
\r
\r
\r
\r
\r
\r
- <xref linkend="action-trigger.table.event-definition"/>\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>path</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>collector</entry>\r
+ <entry>currency_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
- <xref linkend="action-trigger.table.collector"/>\r
+ <xref linkend="acq.table.currency-type"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>label</entry>\r
+ <entry>code</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#1\r
+ UNIQUE#2\r
;\r
\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on environment</title>\r
- \r
- <varlistentry>\r
- <term>environment_ label_check</term>\r
- <listitem><para>CHECK ((label <> ALL (ARRAY['result'::text, 'target'::text, 'event'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action-trigger.table.event" xreflabel="action_trigger.event"> \r
- <title>event</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>holding_tag</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>san</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>event_def</entry>\r
+ <entry>edi_default</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="action-trigger.table.event-definition"/>\r
+ <xref linkend="acq.table.edi-account"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>add_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>run_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>prepayment_required</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>start_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>update_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>complete_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>url</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>update_process</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>email</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>state</entry>\r
+ <entry>phone</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry><para>\r
\r
\r
- DEFAULT 'pending'::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>template_output</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
+ <entry>fax_phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="action-trigger.table.event-output"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>error_output</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>default_claim_policy</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="action-trigger.table.event-output"/>\r
+ <xref linkend="acq.table.claim-policy"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
- <variablelist>\r
- <title>Constraints on event</title>\r
- \r
- <varlistentry>\r
- <term>event_state_ check</term>\r
- <listitem><para>CHECK ((state = ANY (ARRAY['pending'::text, 'invalid'::text, 'found'::text, 'collecting'::text, 'collected'::text, 'validating'::text, 'valid'::text, 'reacting'::text, 'reacted'::text, 'cleaning'::text, 'complete'::text, 'error'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.edi_account via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.edi-account"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.invoice"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem-provider-attr-definition"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.provider-address"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.provider-contact"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.provider-holding-subfield-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.provider-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.purchase-order"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
\r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action-trigger.table.event-definition" xreflabel="action_trigger.event_definition"> \r
- <title>event_definition</title>\r
+ <simplesect id="acq.table.provider-address" xreflabel="acq.provider_address"> \r
+ <title>provider_address</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>active</entry>\r
+ <entry>valid</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>address_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
- \r
\r
- UNIQUE#2\r
- ;\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>provider</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="acq.table.provider"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
+ <entry>street1</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>hook</entry>\r
+ <entry>street2</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#2\r
- ;\r
- \r
\r
- \r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>city</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.hook"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>validator</entry>\r
+ <entry>county</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#2\r
- ;\r
- \r
\r
- \r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>state</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- \r
- <xref linkend="action-trigger.table.validator"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>reactor</entry>\r
+ <entry>country</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry><para>\r
\r
- UNIQUE#2\r
- ;\r
- \r
\r
- \r
+ NOT NULL;\r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>post_code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- \r
\r
- \r
- <xref linkend="action-trigger.table.reactor"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>cleanup_success</entry>\r
+ <entry>fax_phone</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="action-trigger.table.cleanup"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="acq.table.provider-contact" xreflabel="acq.provider_contact"> \r
+ <title>provider_contact</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>cleanup_failure</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
\r
\r
\r
\r
\r
\r
- <xref linkend="action-trigger.table.cleanup"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>delay</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>provider</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#2\r
- ;\r
- \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT '00:05:00'::interval;\r
- \r
\r
\r
+ <xref linkend="acq.table.provider"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_delay</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>delay_field</entry>\r
+ <entry>role</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#2\r
- ;\r
- \r
+ <entry><para>\r
\r
\r
\r
\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>group_field</entry>\r
+ <entry>email</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>template</entry>\r
+ <entry>phone</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing action_trigger.environment via Foreign Key Constraints\r
+ Tables referencing acq.provider_contact_address via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="action-trigger.table.environment"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event-params"/></para>\r
+ <para><xref linkend="acq.table.provider-contact-address"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action-trigger.table.event-output" xreflabel="action_trigger.event_output"> \r
- <title>event_output</title>\r
+ <simplesect id="acq.table.provider-contact-address" xreflabel="acq.provider_contact_address"> \r
+ <title>provider_contact_address</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>valid</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>is_error</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>address_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>contact</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
+ <xref linkend="acq.table.provider-contact"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>data</entry>\r
+ <entry>street1</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>street2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>city</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>county</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>state</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>country</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>post_code</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fax_phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.event via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action-trigger.table.event-params" xreflabel="action_trigger.event_params"> \r
- <title>event_params</title>\r
+ <simplesect id="acq.table.provider-holding-subfield-map" xreflabel="acq.provider_holding_subfield_map"> \r
+ <title>provider_holding_subfield_map</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>event_def</entry>\r
+ <entry>provider</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry><para>\r
\r
\r
\r
;\r
\r
\r
+ \r
+ \r
+ \r
\r
NOT NULL;\r
\r
\r
\r
\r
- <xref linkend="action-trigger.table.event-definition"/>\r
- \r
\r
\r
+ <xref linkend="acq.table.provider"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>param</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
+ <entry>subfield</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="action-trigger.table.hook" xreflabel="action_trigger.hook"> \r
- <title>hook</title>\r
+ <simplesect id="acq.table.provider-note" xreflabel="acq.provider_note"> \r
+ <title>provider_note</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>key</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>core_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>provider</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="acq.table.provider"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>passive</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>creator</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event-definition"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action-trigger.table.reactor" xreflabel="action_trigger.reactor"> \r
- <title>reactor</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>module</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>editor</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
\r
\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event-definition"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="action-trigger.table.validator" xreflabel="action_trigger.validator"> \r
- <title>validator</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>module</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
+ <entry>edit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
+ <entry>value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event-definition"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- </section>\r
- \r
- <section id="actor.schema">\r
- <title>Schema actor</title>\r
- \r
- <simplesect id="actor.table.card" xreflabel="actor.card"> \r
- <title>card</title>\r
+ <simplesect id="acq.table.purchase-order" xreflabel="acq.purchase_order"> \r
+ <title>purchase_order</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>creator</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE;\r
- \r
\r
\r
NOT NULL;\r
\r
\r
\r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.hours-of-operation" xreflabel="actor.hours_of_operation"> \r
- <title>hours_of_operation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
+ <entry>editor</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- \r
- PRIMARY KEY\r
- \r
- \r
\r
+ NOT NULL;\r
\r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
+ <xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_0_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '09:00:00'::time without time zone;\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_0_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '17:00:00'::time without time zone;\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dow_1_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '09:00:00'::time without time zone;\r
+ <entry>ordering_agency</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_1_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT '17:00:00'::time without time zone;\r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dow_2_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT '09:00:00'::time without time zone;\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dow_2_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
+ <entry>edit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT '17:00:00'::time without time zone;\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dow_3_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '09:00:00'::time without time zone;\r
+ <entry>provider</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_3_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT '17:00:00'::time without time zone;\r
\r
+ \r
+ <xref linkend="acq.table.provider"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dow_4_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
+ <entry>state</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT '09:00:00'::time without time zone;\r
+ DEFAULT 'new'::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dow_4_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>order_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT '17:00:00'::time without time zone;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dow_5_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT '09:00:00'::time without time zone;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dow_5_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT '17:00:00'::time without time zone;\r
- \r
+ <entry>cancel_reason</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dow_6_open</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT '09:00:00'::time without time zone;\r
\r
+ \r
+ <xref linkend="acq.table.cancel-reason"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dow_6_close</entry>\r
- <entry>time without time zone</entry>\r
- <entry>\r
+ <entry>prepayment_required</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT '17:00:00'::time without time zone;\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.edi_message via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.edi-message"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.invoice-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.invoice-item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.po-item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.po-note"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.org-address" xreflabel="actor.org_address"> \r
- <title>org_address</title>\r
+ <simplesect id="acq.table.serial-claim" xreflabel="acq.serial_claim"> \r
+ <title>serial_claim</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>valid</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>address_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 'MAILING'::text;\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org_unit</entry>\r
+ <entry>type</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="acq.table.claim-type"/>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street1</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street2</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>city</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>county</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>item</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>country</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>post_code</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
+ \r
+ <xref linkend="serial.table.item"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing actor.org_unit via Foreign Key Constraints\r
+ Tables referencing acq.serial_claim_event via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="actor.table.org-unit"/></para>\r
+ <para><xref linkend="acq.table.serial-claim-event"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.org-lasso" xreflabel="actor.org_lasso"> \r
- <title>org_lasso</title>\r
+ <simplesect id="acq.table.serial-claim-event" xreflabel="acq.serial_claim_event"> \r
+ <title>serial_claim_event</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE;\r
- \r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
+ <xref linkend="acq.table.claim-event-type"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.org_lasso_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-lasso-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.org-lasso-map" xreflabel="actor.org_lasso_map"> \r
- <title>org_lasso_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
+ <entry>claim</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
\r
\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
+ <xref linkend="acq.table.serial-claim"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>lasso</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>event_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
- \r
- <xref linkend="actor.table.org-lasso"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org_unit</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.org-unit" xreflabel="actor.org_unit"> \r
- <title>org_unit</title>\r
+ <simplesect id="acq.table.user-request" xreflabel="acq.user_request"> \r
+ <title>user_request</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>parent_ou</entry>\r
+ <entry>usr</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ou_type</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>hold</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT true;\r
\r
- \r
- <xref linkend="actor.table.org-unit-type"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ill_address</entry>\r
+ <entry>pickup_lib</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
- <xref linkend="actor.table.org-address"/>\r
+ <xref linkend="actor.table.org-unit"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>holds_address</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>holdable_formats</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>phone_notify</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>email_notify</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>lineitem</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.org-address"/>\r
+ <xref linkend="acq.table.lineitem"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>mailing_address</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>eg_bib</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.org-address"/>\r
+ <xref linkend="biblio.table.record-entry"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>billing_address</entry>\r
+ <entry>request_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>need_before</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fee</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>request_type</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
- <xref linkend="actor.table.org-address"/>\r
+ <xref linkend="acq.table.user-request-type"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>shortname</entry>\r
+ <entry>isxn</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
+ <entry>volume</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>author</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>email</entry>\r
+ <entry>article_title</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>phone</entry>\r
+ <entry>article_pages</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>publisher</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT true;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>location</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pubdate</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mentioned</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>other_info</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cancel_reason</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
- </entry>\r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.cancel-reason"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.distribution_formula via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.distribution-formula"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.distribution-formula-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.fund-tag"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.funding-source"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.picklist"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.provider"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.purchase-order"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.circulation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-request"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.in-house-use"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.non-cat-in-house-use"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.non-cataloged-circulation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.survey"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.transit-copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action-trigger.table.event-definition"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.hours-of-operation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-address"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-lasso-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-unit"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-unit-closed"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-unit-setting"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.stat-cat"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.stat-cat-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-org-unit-opt-in"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-standing-penalty"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.workstation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.call-number"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-location"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-transparency"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.stat-cat"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.stat-cat-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.reservation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr-value"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-type"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.billing-type"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.idl-field-doc"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="money.table.collections-tracker"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.grp-penalty-threshold"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.usr-work-ou-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.output-folder"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.report-folder"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.template-folder"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.record-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.import-bib-trash-fields"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.import-item-attr-definition"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.org-unit-closed" xreflabel="actor.org_unit_closed"> \r
- <title>org_unit_closed</title>\r
+ <simplesect id="acq.table.user-request-type" xreflabel="acq.user_request_type"> \r
+ <title>user_request_type</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.user_request via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.user-request"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ </section>\r
+ \r
+ <section id="action.schema">\r
+ <title>Schema action</title>\r
+ \r
+ <simplesect id="action.table.aged-circulation" xreflabel="action.aged_circulation"> \r
+ <title>aged_circulation</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>usr_post_code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr_home_ou</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr_profile</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr_birth_year</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_call_number</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_location</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_bib_record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>unrecovered</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>renewal_remaining</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>due_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stop_fines_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>duration</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fine_interval</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recurring_fine</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fine</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>phone_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>desk_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>duration_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recurring_fine_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fine_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stop_fines</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_scan_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parent_circ</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.view.all-circulation" xreflabel="action.all_circulation"> \r
+ <title>all_circulation</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr_post_code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr_home_ou</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr_profile</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr_birth_year</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_call_number</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_location</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_bib_record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>renewal_remaining</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>due_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stop_fines_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>duration</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fine_interval</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recurring_fine</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fine</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>phone_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>desk_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>duration_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recurring_fine_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fine_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stop_fines</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_scan_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parent_circ</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.view.billable-circulations" xreflabel="action.billable_circulations"> \r
+ <title>billable_circulations</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>unrecovered</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>renewal_remaining</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>due_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stop_fines_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>duration</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fine_interval</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recurring_fine</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fine</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>phone_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>desk_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>duration_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recurring_fine_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fine_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stop_fines</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_scan_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parent_circ</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.circulation" xreflabel="action.circulation"> \r
+ <title>circulation</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ DEFAULT nextval('money.billable_xact_id_seq'::regclass);\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>unrecovered</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>renewal_remaining</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>due_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stop_fines_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>duration</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fine_interval</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '1 day'::interval;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recurring_fine</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fine</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>phone_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>desk_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>duration_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recurring_fine_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fine_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stop_fines</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.workstation"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.workstation"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_scan_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parent_circ</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action.table.circulation"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on circulation</title>\r
+ \r
+ <varlistentry>\r
+ <term>circulation_stop_fines_check</term>\r
+ <listitem><para>CHECK ((stop_fines = ANY (ARRAY['CHECKIN'::text, 'CLAIMSRETURNED'::text, 'LOST'::text, 'MAXFINES'::text, 'RENEW'::text, 'LONGOVERDUE'::text, 'CLAIMSNEVERCHECKEDOUT'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action.circulation via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.circulation"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.fieldset" xreflabel="action.fieldset"> \r
+ <title>fieldset</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>status</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creation_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>scheduled_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>applied_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>classname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stored_query</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="query.table.stored-query"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pkey_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on fieldset</title>\r
+ \r
+ <varlistentry>\r
+ <term>fieldset_one_or_the_other</term>\r
+ <listitem><para>CHECK ((((stored_query IS NOT NULL) AND (pkey_value IS NULL)) OR ((pkey_value IS NOT NULL) AND (stored_query IS NULL))))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ \r
+ \r
+ <varlistentry>\r
+ <term>valid_status</term>\r
+ <listitem><para>CHECK ((status = ANY (ARRAY['PENDING'::text, 'APPLIED'::text, 'ERROR'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action.fieldset_col_val via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.fieldset-col-val"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.fieldset-col-val" xreflabel="action.fieldset_col_val"> \r
+ <title>fieldset_col_val</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fieldset</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action.table.fieldset"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>col</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>val</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.hold-copy-map" xreflabel="action.hold_copy_map"> \r
+ <title>hold_copy_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>hold</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action.table.hold-request"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.hold-notification" xreflabel="action.hold_notification"> \r
+ <title>hold_notification</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>hold</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action.table.hold-request"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>notify_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>notify_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>method</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.hold-request" xreflabel="action.hold_request"> \r
+ <title>hold_request</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>request_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>capture_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fulfillment_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>return_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prev_check_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>expire_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cancel_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cancel_cause</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action.table.hold-request-cancel-cause"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cancel_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>current_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fulfillment_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fulfillment_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>request_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>requestor</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>selection_ou</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>selection_depth</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pickup_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>hold_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>holdable_formats</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>phone_notify</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>email_notify</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>frozen</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>thaw_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>shelf_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cut_in_line</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mint_condition</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>shelf_expire_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action.hold_copy_map via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.hold-copy-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.hold-notification"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.hold-request-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.hold-transit-copy"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.hold-request-cancel-cause" xreflabel="action.hold_request_cancel_cause"> \r
+ <title>hold_request_cancel_cause</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action.hold_request via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.hold-request"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.hold-request-note" xreflabel="action.hold_request_note"> \r
+ <title>hold_request_note</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>hold</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action.table.hold-request"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>body</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>slip</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pub</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>staff</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.hold-transit-copy" xreflabel="action.hold_transit_copy"> \r
+ <title>hold_transit_copy</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ DEFAULT nextval('action.transit_copy_id_seq'::regclass);\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>source_send_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dest_recv_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dest</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prev_hop</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_status</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>persistant_transfer</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prev_dest</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>hold</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action.table.hold-request"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.in-house-use" xreflabel="action.in_house_use"> \r
+ <title>in_house_use</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>org_unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>use_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.non-cat-in-house-use" xreflabel="action.non_cat_in_house_use"> \r
+ <title>non_cat_in_house_use</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_type</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.non-cataloged-type"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>org_unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>use_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.non-cataloged-circulation" xreflabel="action.non_cataloged_circulation"> \r
+ <title>non_cataloged_circulation</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>patron</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.non-cataloged-type"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.view.open-circulation" xreflabel="action.open_circulation"> \r
+ <title>open_circulation</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>unrecovered</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>renewal_remaining</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>due_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stop_fines_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>duration</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fine_interval</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recurring_fine</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fine</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>phone_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>desk_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>duration_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recurring_fine_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fine_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stop_fines</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_scan_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parent_circ</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.reservation-transit-copy" xreflabel="action.reservation_transit_copy"> \r
+ <title>reservation_transit_copy</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ DEFAULT nextval('action.transit_copy_id_seq'::regclass);\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>source_send_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dest_recv_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="booking.table.resource"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dest</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prev_hop</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_status</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>persistant_transfer</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prev_dest</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>reservation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="booking.table.reservation"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.survey" xreflabel="action.survey"> \r
+ <title>survey</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>start_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>end_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT (now() + '10 years'::interval);\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr_summary</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>poll</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>required</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action.survey_question via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.survey-question"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.survey-response"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.survey-answer" xreflabel="action.survey_answer"> \r
+ <title>survey_answer</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>question</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action.table.survey-question"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>answer</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action.survey_response via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.survey-response"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.survey-question" xreflabel="action.survey_question"> \r
+ <title>survey_question</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>survey</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action.table.survey"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>question</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action.survey_answer via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.survey-answer"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.survey-response"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.survey-response" xreflabel="action.survey_response"> \r
+ <title>survey_response</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>response_group_id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>survey</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action.table.survey"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>question</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action.table.survey-question"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>answer</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action.table.survey-answer"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>answer_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>effective_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.transit-copy" xreflabel="action.transit_copy"> \r
+ <title>transit_copy</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>source_send_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dest_recv_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dest</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prev_hop</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action.table.transit-copy"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_status</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.copy-status"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>persistant_transfer</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prev_dest</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action.transit_copy via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.transit-copy"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.view.unfulfilled-hold-innermost-loop" xreflabel="action.unfulfilled_hold_innermost_loop"> \r
+ <title>unfulfilled_hold_innermost_loop</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>hold</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>count</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.table.unfulfilled-hold-list" xreflabel="action.unfulfilled_hold_list"> \r
+ <title>unfulfilled_hold_list</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>current_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>hold</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fail_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.view.unfulfilled-hold-loops" xreflabel="action.unfulfilled_hold_loops"> \r
+ <title>unfulfilled_hold_loops</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>hold</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>count</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.view.unfulfilled-hold-max-loop" xreflabel="action.unfulfilled_hold_max_loop"> \r
+ <title>unfulfilled_hold_max_loop</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>hold</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.view.unfulfilled-hold-min-loop" xreflabel="action.unfulfilled_hold_min_loop"> \r
+ <title>unfulfilled_hold_min_loop</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>hold</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>min</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ </section>\r
+ \r
+ <section id="action-trigger.schema">\r
+ <title>Schema action_trigger</title>\r
+ \r
+ <simplesect id="action-trigger.table.cleanup" xreflabel="action_trigger.cleanup"> \r
+ <title>cleanup</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>module</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action-trigger.table.event-definition"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action-trigger.table.collector" xreflabel="action_trigger.collector"> \r
+ <title>collector</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>module</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action_trigger.environment via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action-trigger.table.environment"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action-trigger.table.environment" xreflabel="action_trigger.environment"> \r
+ <title>environment</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>event_def</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action-trigger.table.event-definition"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>path</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>collector</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action-trigger.table.collector"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on environment</title>\r
+ \r
+ <varlistentry>\r
+ <term>environment_label_check</term>\r
+ <listitem><para>CHECK ((label <> ALL (ARRAY['result'::text, 'target'::text, 'event'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action-trigger.table.event" xreflabel="action_trigger.event"> \r
+ <title>event</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>event_def</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action-trigger.table.event-definition"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>add_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>run_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>start_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>update_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>complete_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>update_process</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>state</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'pending'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>user_data</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>template_output</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action-trigger.table.event-output"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>error_output</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action-trigger.table.event-output"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>async_output</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action-trigger.table.event-output"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on event</title>\r
+ \r
+ <varlistentry>\r
+ <term>event_state_check</term>\r
+ <listitem><para>CHECK ((state = ANY (ARRAY['pending'::text, 'invalid'::text, 'found'::text, 'collecting'::text, 'collected'::text, 'validating'::text, 'valid'::text, 'reacting'::text, 'reacted'::text, 'cleaning'::text, 'complete'::text, 'error'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ \r
+ \r
+ <varlistentry>\r
+ <term>event_user_data_check</term>\r
+ <listitem><para>CHECK (((user_data IS NULL) OR is_json(user_data)))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action-trigger.table.event-definition" xreflabel="action_trigger.event_definition"> \r
+ <title>event_definition</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#2\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#2\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>hook</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action-trigger.table.hook"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>validator</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action-trigger.table.validator"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>reactor</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action-trigger.table.reactor"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cleanup_success</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action-trigger.table.cleanup"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cleanup_failure</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action-trigger.table.cleanup"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>delay</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '00:05:00'::interval;\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_delay</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr_field</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opt_in_setting</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.usr-setting-type"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>delay_field</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>group_field</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>template</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>granularity</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action_trigger.environment via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action-trigger.table.environment"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action-trigger.table.event"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action-trigger.table.event-params"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action-trigger.table.event-output" xreflabel="action_trigger.event_output"> \r
+ <title>event_output</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>is_error</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>data</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action_trigger.event via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action-trigger.table.event"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action-trigger.table.event-params" xreflabel="action_trigger.event_params"> \r
+ <title>event_params</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>event_def</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="action-trigger.table.event-definition"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>param</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action-trigger.table.hook" xreflabel="action_trigger.hook"> \r
+ <title>hook</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>key</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>core_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>passive</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action-trigger.table.event-definition"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action-trigger.table.reactor" xreflabel="action_trigger.reactor"> \r
+ <title>reactor</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>module</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action-trigger.table.event-definition"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action-trigger.table.validator" xreflabel="action_trigger.validator"> \r
+ <title>validator</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>module</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action-trigger.table.event-definition"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ </section>\r
+ \r
+ <section id="actor.schema">\r
+ <title>Schema actor</title>\r
+ \r
+ <simplesect id="actor.table.card" xreflabel="actor.card"> \r
+ <title>card</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>barcode</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.hours-of-operation" xreflabel="actor.hours_of_operation"> \r
+ <title>hours_of_operation</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_0_open</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '09:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_0_close</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '17:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_1_open</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '09:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_1_close</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '17:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_2_open</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '09:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_2_close</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '17:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_3_open</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '09:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_3_close</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '17:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_4_open</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '09:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_4_close</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '17:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_5_open</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '09:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_5_close</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '17:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_6_open</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '09:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dow_6_close</entry>\r
+ <entry>time without time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '17:00:00'::time without time zone;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.org-address" xreflabel="actor.org_address"> \r
+ <title>org_address</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>valid</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>address_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'MAILING'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>org_unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>street1</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>street2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>city</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>county</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>state</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>country</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>post_code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>san</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing actor.org_unit via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.org-unit"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.org-lasso" xreflabel="actor.org_lasso"> \r
+ <title>org_lasso</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing actor.org_lasso_map via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.org-lasso-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.org-lasso-map" xreflabel="actor.org_lasso_map"> \r
+ <title>org_lasso_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>lasso</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-lasso"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>org_unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.org-unit" xreflabel="actor.org_unit"> \r
+ <title>org_unit</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parent_ou</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ou_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit-type"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ill_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-address"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>holds_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-address"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mailing_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-address"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billing_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-address"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>shortname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>email</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fiscal_calendar</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.fiscal-calendar"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.cancel_reason via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.cancel-reason"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.claim-event-type"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.claim-policy"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.claim-type"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.distribution-formula"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.distribution-formula-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund-allocation-percent"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund-tag"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.funding-source"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.invoice"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem-alert-text"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem-detail"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.picklist"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.provider"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.purchase-order"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.user-request"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.circulation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.fieldset"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.hold-request"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.in-house-use"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.non-cat-in-house-use"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.non-cataloged-circulation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.survey"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.transit-copy"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action-trigger.table.event-definition"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.hours-of-operation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.org-address"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.org-lasso-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.org-unit"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.org-unit-closed"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.org-unit-setting"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.stat-cat"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.stat-cat-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr-org-unit-opt-in"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr-standing-penalty"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.workstation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.call-number"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy-location"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy-location-order"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy-template"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.stat-cat"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.stat-cat-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="biblio.table.record-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="booking.table.reservation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="booking.table.resource"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="booking.table.resource-attr"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="booking.table.resource-attr-value"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="booking.table.resource-type"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.billing-type"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.idl-field-doc"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.remote-account"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="money.table.collections-tracker"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.grp-penalty-threshold"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.usr-work-ou-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.output-folder"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.report-folder"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.template-folder"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.distribution"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.record-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.subscription"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.import-bib-trash-fields"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.import-item-attr-definition"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.merge-profile"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.org-unit-closed" xreflabel="actor.org_unit_closed"> \r
+ <title>org_unit_closed</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>org_unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>close_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>close_end</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>reason</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.org-unit-proximity" xreflabel="actor.org_unit_proximity"> \r
+ <title>org_unit_proximity</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>from_org</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>to_org</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prox</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.org-unit-setting" xreflabel="actor.org_unit_setting"> \r
+ <title>org_unit_setting</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>org_unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.org-unit-setting-type"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.org-unit-type" xreflabel="actor.org_unit_type"> \r
+ <title>org_unit_type</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>depth</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parent</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit-type"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>can_have_vols</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>can_have_users</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing actor.org_unit via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.org-unit"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.org-unit-type"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.stat-cat" xreflabel="actor.stat_cat"> \r
+ <title>stat_cat</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr_summary</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing actor.stat_cat_entry via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.stat-cat-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.stat-cat-entry-usr-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.stat-cat-entry" xreflabel="actor.stat_cat_entry"> \r
+ <title>stat_cat_entry</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.stat-cat"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.stat-cat-entry-usr-map" xreflabel="actor.stat_cat_entry_usr_map"> \r
+ <title>stat_cat_entry_usr_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat_entry</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.stat-cat"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.usr" xreflabel="actor.usr"> \r
+ <title>usr</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>card</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>profile</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="permission.table.grp-tree"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usrname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>email</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>passwd</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>standing</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.standing"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ident_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.identification-type"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ident_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ident_type2</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.identification-type"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ident_value2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>net_access_level</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.net-access-level"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>photo_url</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prefix</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>first_given_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>second_given_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>family_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>suffix</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>alias</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>day_phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>evening_phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>other_phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mailing_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr-address"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billing_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr-address"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>home_ou</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dob</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>master_account</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>super_user</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>barred</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deleted</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>juvenile</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usrgroup</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>claims_returned_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>credit_forward_balance</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 0.00;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_xact_id</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'none'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>alert_message</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>expire_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT (now() + '3 years'::interval);\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>claims_never_checked_out_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.claim_event via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.claim-event"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.distribution-formula-application"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund-allocation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund-allocation-percent"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.fund-transfer"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem-usr-attr-definition"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.picklist"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.po-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.provider-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.purchase-order"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.serial-claim-event"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.user-request"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.circulation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.fieldset"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.hold-notification"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.hold-request"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.in-house-use"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.non-cat-in-house-use"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.non-cataloged-circulation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.card"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.stat-cat-entry-usr-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr-address"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr-org-unit-opt-in"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr-password-reset"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr-saved-search"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr-setting"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr-standing-penalty"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.call-number"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.call-number-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy-template"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="biblio.table.record-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="biblio.table.record-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="booking.table.reservation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.biblio-record-entry-bucket"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.call-number-bucket"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.copy-bucket"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.user-bucket"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.user-bucket-item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="money.table.billable-xact"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="money.table.collections-tracker"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.usr-grp-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.usr-object-perm-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.usr-perm-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.usr-work-ou-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.output-folder"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.report"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.report-folder"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.schedule"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.template"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.template-folder"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.distribution-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.issuance"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.item-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.routing-list-user"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.subscription-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.unit"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.queue"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.usr-address" xreflabel="actor.usr_address"> \r
+ <title>usr_address</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>valid</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>within_city_limits</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>address_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'MAILING'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>street1</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>street2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>city</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>county</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>state</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>country</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>post_code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pending</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>replaces</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr-address"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing actor.usr via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr-address"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.usr-note" xreflabel="actor.usr_note"> \r
+ <title>usr_note</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pub</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.usr-org-unit-opt-in" xreflabel="actor.usr_org_unit_opt_in"> \r
+ <title>usr_org_unit_opt_in</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>org_unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opt_in_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opt_in_ws</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.workstation"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.usr-password-reset" xreflabel="actor.usr_password_reset"> \r
+ <title>usr_password_reset</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>uuid</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>request_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>has_been_reset</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.usr-saved-search" xreflabel="actor.usr_saved_search"> \r
+ <title>usr_saved_search</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>query_text</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>query_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'URL'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on usr_saved_search</title>\r
+ \r
+ <varlistentry>\r
+ <term>valid_query_text</term>\r
+ <listitem><para>CHECK ((query_type = 'URL'::text))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ \r
+ \r
+ <varlistentry>\r
+ <term>valid_target</term>\r
+ <listitem><para>CHECK ((target = ANY (ARRAY['record'::text, 'metarecord'::text, 'callnumber'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.usr-setting" xreflabel="actor.usr_setting"> \r
+ <title>usr_setting</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.usr-setting-type"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.usr-standing-penalty" xreflabel="actor.usr_standing_penalty"> \r
+ <title>usr_standing_penalty</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>org_unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>standing_penalty</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.standing-penalty"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>set_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stop_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="actor.table.workstation" xreflabel="actor.workstation"> \r
+ <title>workstation</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action.circulation via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.circulation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr-org-unit-opt-in"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="money.table.bnm-desk-payment"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ </section>\r
+ \r
+ <section id="asset.schema">\r
+ <title>Schema asset</title>\r
+ \r
+ <simplesect id="asset.table.call-number" xreflabel="asset.call_number"> \r
+ <title>call_number</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>editor</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deleted</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label_class</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.call-number-class"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label_sortkey</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing asset.call_number_note via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.call-number-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.uri-call-number-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.call-number-bucket-item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.distribution"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.unit"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.call-number-class" xreflabel="asset.call_number_class"> \r
+ <title>call_number_class</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>normalizer</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'asset.normalize_generic'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>field</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '050ab,055ab,060ab,070ab,080ab,082ab,086ab,088ab,090,092,096,098,099'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing asset.call_number via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.call-number"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.call-number-note" xreflabel="asset.call_number_note"> \r
+ <title>call_number_note</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>call_number</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.call-number"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pub</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.copy" xreflabel="asset.copy"> \r
+ <title>copy</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>call_number</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.call-number"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>editor</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_number</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>status</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.copy-status"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>location</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.copy-location"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>loan_duration</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fine_level</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>age_protect</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circulate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deposit</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ref</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>holdable</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deposit_amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 0.00;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>price</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>barcode</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_modifier</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.circ-modifier"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_as_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dummy_title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dummy_author</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>alert_message</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deleted</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>floating</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dummy_isbn</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>status_changed_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mint_condition</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cost</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on copy</title>\r
+ \r
+ <varlistentry>\r
+ <term>copy_fine_level_check</term>\r
+ <listitem><para>CHECK ((fine_level = ANY (ARRAY[1, 2, 3])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ \r
+ \r
+ <varlistentry>\r
+ <term>copy_loan_duration_check</term>\r
+ <listitem><para>CHECK ((loan_duration = ANY (ARRAY[1, 2, 3])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing asset.copy_note via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.copy-bucket-item"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.copy-location" xreflabel="asset.copy_location"> \r
+ <title>copy_location</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>holdable</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>hold_verify</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circulate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label_prefix</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label_suffix</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.distribution_formula_entry via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.distribution-formula-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem-detail"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy-location-order"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy-template"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.copy-location-order" xreflabel="asset.copy_location_order"> \r
+ <title>copy_location_order</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>location</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.copy-location"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>org</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>position</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.copy-note" xreflabel="asset.copy_note"> \r
+ <title>copy_note</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owning_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.copy"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pub</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.copy-template" xreflabel="asset.copy_template"> \r
+ <title>copy_template</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>editor</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>status</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.copy-status"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>location</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.copy-location"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>loan_duration</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fine_level</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>age_protect</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circulate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deposit</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ref</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>holdable</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deposit_amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>price</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_modifier</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_as_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>alert_message</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>floating</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mint_condition</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on copy_template</title>\r
+ \r
+ <varlistentry>\r
+ <term>valid_fine_level</term>\r
+ <listitem><para>CHECK (((fine_level IS NULL) OR (loan_duration = ANY (ARRAY[1, 2, 3]))))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ \r
+ \r
+ <varlistentry>\r
+ <term>valid_loan_duration</term>\r
+ <listitem><para>CHECK (((loan_duration IS NULL) OR (loan_duration = ANY (ARRAY[1, 2, 3]))))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing serial.distribution via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.distribution"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.opac-visible-copies" xreflabel="asset.opac_visible_copies"> \r
+ <title>opac_visible_copies</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.stat-cat" xreflabel="asset.stat_cat"> \r
+ <title>stat_cat</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>required</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing asset.stat_cat_entry via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.stat-cat-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.stat-cat-entry-copy-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.stat-cat-entry" xreflabel="asset.stat_cat_entry"> \r
+ <title>stat_cat_entry</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.stat-cat"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing asset.stat_cat_entry_copy_map via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.stat-cat-entry-copy-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.stat-cat-entry-copy-map" xreflabel="asset.stat_cat_entry_copy_map"> \r
+ <title>stat_cat_entry_copy_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.stat-cat"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat_entry</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.stat-cat-entry"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owning_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.stat-cat-entry-transparency-map" xreflabel="asset.stat_cat_entry_transparency_map"> \r
+ <title>stat_cat_entry_transparency_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat_entry</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owning_transparency</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.uri" xreflabel="asset.uri"> \r
+ <title>uri</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>href</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>use_restriction</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing asset.uri_call_number_map via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.uri-call-number-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.item"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="asset.table.uri-call-number-map" xreflabel="asset.uri_call_number_map"> \r
+ <title>uri_call_number_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>uri</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.uri"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>call_number</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.call-number"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ </section>\r
+ \r
+ <section id="auditor.schema">\r
+ <title>Schema auditor</title>\r
+ \r
+ <simplesect id="auditor.table.acq-invoice-entry-history" xreflabel="auditor.acq_invoice_entry_history"> \r
+ <title>acq_invoice_entry_history</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>audit_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>invoice</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>purchase_order</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>lineitem</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>inv_item_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>phys_item_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billed_per_item</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cost_billed</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>actual_cost</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>amount_paid</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.view.acq-invoice-entry-lifecycle" xreflabel="auditor.acq_invoice_entry_lifecycle"> \r
+ <title>acq_invoice_entry_lifecycle</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>?column?</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>invoice</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>purchase_order</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>lineitem</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>inv_item_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>phys_item_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billed_per_item</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cost_billed</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>actual_cost</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>amount_paid</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.table.acq-invoice-history" xreflabel="auditor.acq_invoice_history"> \r
+ <title>acq_invoice_history</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>audit_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>receiver</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>provider</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>shipper</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recv_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recv_method</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>inv_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>inv_ident</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_auth</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_method</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>complete</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.table.acq-invoice-item-history" xreflabel="auditor.acq_invoice_item_history"> \r
+ <title>acq_invoice_item_history</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>audit_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>invoice</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>purchase_order</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fund_debit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>inv_item_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>author</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cost_billed</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>actual_cost</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fund</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>amount_paid</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>po_item</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.view.acq-invoice-item-lifecycle" xreflabel="auditor.acq_invoice_item_lifecycle"> \r
+ <title>acq_invoice_item_lifecycle</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>?column?</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>invoice</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>purchase_order</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fund_debit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>inv_item_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>author</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cost_billed</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>actual_cost</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fund</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>amount_paid</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>po_item</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.view.acq-invoice-lifecycle" xreflabel="auditor.acq_invoice_lifecycle"> \r
+ <title>acq_invoice_lifecycle</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>?column?</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>receiver</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>provider</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>shipper</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recv_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recv_method</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>inv_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>inv_ident</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_auth</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_method</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>complete</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.table.actor-org-unit-history" xreflabel="auditor.actor_org_unit_history"> \r
+ <title>actor_org_unit_history</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>audit_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parent_ou</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ou_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ill_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>holds_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mailing_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billing_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>shortname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>email</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fiscal_calendar</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.view.actor-org-unit-lifecycle" xreflabel="auditor.actor_org_unit_lifecycle"> \r
+ <title>actor_org_unit_lifecycle</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>?column?</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parent_ou</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ou_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ill_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>holds_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mailing_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billing_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>shortname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>email</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fiscal_calendar</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.table.actor-usr-address-history" xreflabel="auditor.actor_usr_address_history"> \r
+ <title>actor_usr_address_history</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>audit_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>valid</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>within_city_limits</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>address_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>street1</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>street2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>city</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>county</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>state</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>country</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>post_code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pending</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>replaces</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.view.actor-usr-address-lifecycle" xreflabel="auditor.actor_usr_address_lifecycle"> \r
+ <title>actor_usr_address_lifecycle</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>?column?</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>valid</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>within_city_limits</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>address_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>street1</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>street2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>city</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>county</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>state</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>country</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>post_code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pending</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>replaces</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.table.actor-usr-history" xreflabel="auditor.actor_usr_history"> \r
+ <title>actor_usr_history</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>audit_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>card</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>profile</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usrname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>email</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>passwd</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>standing</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ident_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ident_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ident_type2</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ident_value2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>net_access_level</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>photo_url</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prefix</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>first_given_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>second_given_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>family_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>suffix</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>alias</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>day_phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>evening_phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>other_phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mailing_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billing_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>home_ou</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dob</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>master_account</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>super_user</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>barred</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deleted</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>juvenile</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usrgroup</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>claims_returned_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>credit_forward_balance</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_xact_id</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>alert_message</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>expire_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>claims_never_checked_out_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.view.actor-usr-lifecycle" xreflabel="auditor.actor_usr_lifecycle"> \r
+ <title>actor_usr_lifecycle</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>?column?</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>card</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>profile</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usrname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>email</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>passwd</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>standing</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ident_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ident_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ident_type2</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ident_value2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>net_access_level</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>photo_url</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prefix</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>first_given_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>second_given_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>family_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>suffix</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>alias</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>day_phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>evening_phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>other_phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mailing_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billing_address</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>home_ou</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dob</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>master_account</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>super_user</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>barred</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deleted</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>juvenile</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usrgroup</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>claims_returned_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>credit_forward_balance</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_xact_id</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>alert_message</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>expire_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>claims_never_checked_out_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.table.asset-call-number-history" xreflabel="auditor.asset_call_number_history"> \r
+ <title>asset_call_number_history</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>audit_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>editor</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deleted</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label_class</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label_sortkey</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.view.asset-call-number-lifecycle" xreflabel="auditor.asset_call_number_lifecycle"> \r
+ <title>asset_call_number_lifecycle</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>?column?</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>editor</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deleted</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label_class</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label_sortkey</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.table.asset-copy-history" xreflabel="auditor.asset_copy_history"> \r
+ <title>asset_copy_history</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>audit_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>call_number</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>editor</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_number</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>status</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>location</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>loan_duration</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fine_level</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>age_protect</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circulate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deposit</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ref</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>holdable</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deposit_amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>price</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>barcode</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_modifier</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_as_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dummy_title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dummy_author</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>alert_message</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deleted</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>floating</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dummy_isbn</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>status_changed_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mint_condition</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cost</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="auditor.view.asset-copy-lifecycle" xreflabel="auditor.asset_copy_lifecycle"> \r
+ <title>asset_copy_lifecycle</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>?column?</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>call_number</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>editor</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_number</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>status</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>location</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>loan_duration</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fine_level</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>age_protect</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circulate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deposit</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ref</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>holdable</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deposit_amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>close_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>price</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>barcode</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>close_end</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>circ_modifier</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_as_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>reason</entry>\r
+ <entry>dummy_title</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dummy_author</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>alert_message</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deleted</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>floating</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dummy_isbn</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>status_changed_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mint_condition</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cost</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.org-unit-proximity" xreflabel="actor.org_unit_proximity"> \r
- <title>org_unit_proximity</title>\r
+ <simplesect id="auditor.table.biblio-record-entry-history" xreflabel="auditor.biblio_record_entry_history"> \r
+ <title>biblio_record_entry_history</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>audit_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>from_org</entry>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_action</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>to_org</entry>\r
+ <entry>editor</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>prox</entry>\r
+ <entry>source</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.org-unit-setting" xreflabel="actor.org_unit_setting"> \r
- <title>org_unit_setting</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>quality</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- \r
+ NOT NULL;\r
+ \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
- \r
\r
+ NOT NULL;\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deleted</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fingerprint</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
+ <entry>tcn_source</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>tcn_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>marc</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
+ <entry>last_xact_id</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>share_depth</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.org-unit-type" xreflabel="actor.org_unit_type"> \r
- <title>org_unit_type</title>\r
+ <simplesect id="auditor.view.biblio-record-entry-lifecycle" xreflabel="auditor.biblio_record_entry_lifecycle"> \r
+ <title>biblio_record_entry_lifecycle</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>?column?</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>audit_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
+ <entry>audit_action</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_label</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>depth</entry>\r
+ <entry>editor</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>parent</entry>\r
+ <entry>quality</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- \r
- <xref linkend="actor.table.org-unit-type"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>can_have_vols</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT true;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>can_have_users</entry>\r
+ <entry>deleted</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT true;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fingerprint</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>tcn_source</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>tcn_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>marc</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_xact_id</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>share_depth</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.org_unit via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-unit"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.org-unit-type"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-test"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.stat-cat" xreflabel="actor.stat_cat"> \r
- <title>stat_cat</title>\r
+ </section>\r
+ \r
+ <section id="authority.schema">\r
+ <title>Schema authority</title>\r
+ \r
+ <simplesect id="authority.table.bib-linking" xreflabel="authority.bib_linking"> \r
+ <title>bib_linking</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
</row>\r
</thead>\r
<tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
- UNIQUE#1\r
- ;\r
\r
+ PRIMARY KEY\r
+ \r
\r
\r
- NOT NULL;\r
- \r
\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>bib</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
NOT NULL;\r
\r
\r
\r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>authority</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
+ <xref linkend="authority.table.record-entry"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.stat_cat_entry via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.stat-cat-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.stat-cat-entry-usr-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.stat-cat-entry" xreflabel="actor.stat_cat_entry"> \r
- <title>stat_cat_entry</title>\r
+ <simplesect id="authority.table.full-rec" xreflabel="authority.full_rec"> \r
+ <title>full_rec</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stat_cat</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
- \r
+ NOT NULL;\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>tag</entry>\r
+ <entry>character(3)</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- \r
- <xref linkend="actor.table.stat-cat"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>ind1</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ind2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- NOT NULL;\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>subfield</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ NOT NULL;\r
\r
\r
- NOT NULL;\r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>index_vector</entry>\r
+ <entry>tsvector</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.stat-cat-entry-usr-map" xreflabel="actor.stat_cat_entry_usr_map"> \r
- <title>stat_cat_entry_usr_map</title>\r
+ <simplesect id="authority.table.rec-descriptor" xreflabel="authority.rec_descriptor"> \r
+ <title>rec_descriptor</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>bigserial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stat_cat_entry</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stat_cat</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>record_status</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="actor.table.stat-cat"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>char_encoding</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.usr" xreflabel="actor.usr"> \r
- <title>usr</title>\r
+ <simplesect id="authority.table.record-entry" xreflabel="authority.record_entry"> \r
+ <title>record_entry</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>card</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry><para>\r
\r
- UNIQUE;\r
- \r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT 1;\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>profile</entry>\r
+ <entry>editor</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usrname</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT true;\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>email</entry>\r
+ <entry>deleted</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>marc</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>passwd</entry>\r
+ <entry>last_xact_id</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>standing</entry>\r
+ <entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing authority.bib_linking via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="authority.table.bib-linking"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="authority.table.record-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.authority-match"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.queued-authority-record"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="authority.table.record-note" xreflabel="authority.record_note"> \r
+ <title>record_note</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
\r
\r
- DEFAULT 1;\r
\r
\r
- \r
- <xref linkend="config.table.standing"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ident_type</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="config.table.identification-type"/>\r
+ <xref linkend="authority.table.record-entry"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ident_value</entry>\r
+ <entry>value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ident_type2</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT 1;\r
\r
- \r
- <xref linkend="config.table.identification-type"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ident_value2</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>editor</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT 1;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>net_access_level</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
\r
+ NOT NULL;\r
\r
\r
- NOT NULL;\r
+ DEFAULT now();\r
\r
\r
- DEFAULT 1;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="config.table.net-access-level"/>\r
- \r
+ NOT NULL;\r
\r
- </entry>\r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="authority.view.tracing-links" xreflabel="authority.tracing_links"> \r
+ <title>tracing_links</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>photo_url</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>prefix</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>main_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>first_given_name</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>main_tag</entry>\r
+ <entry>character(3)</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>second_given_name</entry>\r
+ <entry>main_value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>family_name</entry>\r
+ <entry>relationship</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>suffix</entry>\r
+ <entry>use_restriction</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>day_phone</entry>\r
+ <entry>deprecation</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>evening_phone</entry>\r
+ <entry>display_restriction</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>other_phone</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>link_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>mailing_address</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>link_tag</entry>\r
+ <entry>character(3)</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>link_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="actor.table.usr-address"/>\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ </section>\r
+ \r
+ <section id="biblio.schema">\r
+ <title>Schema biblio</title>\r
+ \r
+ <simplesect id="biblio.table.record-entry" xreflabel="biblio.record_entry"> \r
+ <title>record_entry</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>billing_address</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.usr-address"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>home_ou</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT 1;\r
+ \r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dob</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>editor</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>master_account</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>quality</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>super_user</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>barred</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deleted</entry>\r
+ <entry>active</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usrgroup</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>deleted</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>claims_returned_count</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>fingerprint</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>credit_forward_balance</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>tcn_source</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 0.00;\r
+ DEFAULT 'AUTOGEN'::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_xact_id</entry>\r
+ <entry>tcn_value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 'none'::text;\r
+ DEFAULT biblio.next_autogen_tcn_value();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>alert_message</entry>\r
+ <entry>marc</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>last_xact_id</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>expire_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- DEFAULT (now() + '3 years'::interval);\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alias</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>juvenile</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>share_depth</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing acq.fund_allocation via Foreign Key Constraints\r
+ Tables referencing acq.lineitem via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="acq.table.fund-allocation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
<para><xref linkend="acq.table.lineitem"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="acq.table.lineitem-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-usr-attr-definition"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.picklist"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.po-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.purchase-order"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.circulation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-notification"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-request"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.in-house-use"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.non-cat-in-house-use"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.non-cataloged-circulation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.card"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.stat-cat-entry-usr-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-address"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-org-unit-opt-in"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-password-reset"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-setting"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-standing-penalty"/></para>\r
+ <para><xref linkend="acq.table.user-request"/></para>\r
</listitem>\r
\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="asset.table.call-number-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="biblio.table.record-entry"/></para>\r
+ <para><xref linkend="authority.table.bib-linking"/></para>\r
</listitem>\r
\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="booking.table.reservation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.biblio-record-entry-bucket"/></para>\r
+ <para><xref linkend="booking.table.resource-type"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="container.table.call-number-bucket"/></para>\r
+ <para><xref linkend="container.table.biblio-record-entry-bucket-item"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="container.table.copy-bucket"/></para>\r
+ <para><xref linkend="metabib.table.author-field-entry"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="container.table.user-bucket"/></para>\r
+ <para><xref linkend="metabib.table.identifier-field-entry"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="container.table.user-bucket-item"/></para>\r
+ <para><xref linkend="metabib.table.keyword-field-entry"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="money.table.billable-xact"/></para>\r
+ <para><xref linkend="metabib.table.metarecord"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="money.table.collections-tracker"/></para>\r
+ <para><xref linkend="metabib.table.metarecord-source-map"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="permission.table.usr-grp-map"/></para>\r
+ <para><xref linkend="metabib.table.real-full-rec"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="permission.table.usr-object-perm-map"/></para>\r
+ <para><xref linkend="metabib.table.rec-descriptor"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="permission.table.usr-perm-map"/></para>\r
+ <para><xref linkend="metabib.table.series-field-entry"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="permission.table.usr-work-ou-map"/></para>\r
+ <para><xref linkend="metabib.table.subject-field-entry"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="reporter.table.output-folder"/></para>\r
+ <para><xref linkend="metabib.table.title-field-entry"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="reporter.table.report"/></para>\r
+ <para><xref linkend="serial.table.record-entry"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="reporter.table.report-folder"/></para>\r
+ <para><xref linkend="serial.table.subscription"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="reporter.table.schedule"/></para>\r
+ <para><xref linkend="vandelay.table.bib-match"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="reporter.table.template"/></para>\r
+ <para><xref linkend="vandelay.table.queued-bib-record"/></para>\r
</listitem>\r
\r
+ </itemizedlist>\r
\r
\r
- <listitem>\r
- <para><xref linkend="reporter.table.template-folder"/></para>\r
- </listitem>\r
- \r
\r
\r
- <listitem>\r
- <para><xref linkend="vandelay.table.queue"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="biblio.table.record-note" xreflabel="biblio.record_note"> \r
+ <title>record_note</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>editor</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pub</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
\r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.usr-address" xreflabel="actor.usr_address"> \r
- <title>usr_address</title>\r
+ </section>\r
+ \r
+ <section id="booking.schema">\r
+ <title>Schema booking</title>\r
+ \r
+ <simplesect id="booking.table.reservation" xreflabel="booking.reservation"> \r
+ <title>reservation</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
+ DEFAULT nextval('money.billable_xact_id_seq'::regclass);\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>unrecovered</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>request_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>start_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>end_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>capture_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>valid</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>cancel_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>within_city_limits</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>pickup_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>address_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>return_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT 'MAILING'::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>booking_interval</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fine_interval</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>street1</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>fine_amount</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>street2</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>max_fine</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>city</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>target_resource_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>county</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="booking.table.resource-type"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>target_resource</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="booking.table.resource"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>country</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>current_resource</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
+ <xref linkend="booking.table.resource"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>post_code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>request_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pending</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>pickup_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>replaces</entry>\r
+ <entry>capture_staff</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing actor.usr via Foreign Key Constraints\r
+ Tables referencing action.reservation_transit_copy via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="actor.table.usr"/></para>\r
+ <para><xref linkend="action.table.reservation-transit-copy"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="booking.table.reservation-attr-value-map"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.usr-note" xreflabel="actor.usr_note"> \r
- <title>usr_note</title>\r
+ <simplesect id="booking.table.reservation-attr-value-map" xreflabel="booking.reservation_attr_value_map"> \r
+ <title>reservation_attr_value_map</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>reservation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
+ UNIQUE#1\r
+ ;\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- DEFAULT now();\r
\r
+ \r
+ <xref linkend="booking.table.reservation"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>attr_value</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- DEFAULT false;\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ \r
\r
+ \r
+ <xref linkend="booking.table.resource-attr-value"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.usr-org-unit-opt-in" xreflabel="actor.usr_org_unit_opt_in"> \r
- <title>usr_org_unit_opt_in</title>\r
+ <simplesect id="booking.table.resource" xreflabel="booking.resource"> \r
+ <title>resource</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org_unit</entry>\r
+ <entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="actor.table.org-unit"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>type</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
+ <xref linkend="booking.table.resource-type"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>overbook</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>barcode</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opt_in_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>deposit</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opt_in_ws</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>deposit_amount</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
- \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 0.00;\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>user_fee</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
\r
NOT NULL;\r
\r
\r
+ DEFAULT 0.00;\r
\r
- \r
- <xref linkend="actor.table.workstation"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action.reservation_transit_copy via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.reservation-transit-copy"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="booking.table.reservation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="booking.table.resource-attr-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.usr-password-reset" xreflabel="actor.usr_password_reset"> \r
- <title>usr_password_reset</title>\r
+ <simplesect id="booking.table.resource-attr" xreflabel="booking.resource_attr"> \r
+ <title>resource_attr</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>uuid</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>request_time</entry>\r
- <entry>timestamp without time zone</entry>\r
- <entry>\r
+ <entry>resource_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
\r
+ \r
+ \r
+ \r
+ <xref linkend="booking.table.resource-type"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>has_been_reset</entry>\r
+ <entry>required</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing booking.resource_attr_map via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="booking.table.resource-attr-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="booking.table.resource-attr-value"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.usr-setting" xreflabel="actor.usr_setting"> \r
- <title>usr_setting</title>\r
+ <simplesect id="booking.table.resource-attr-map" xreflabel="booking.resource_attr_map"> \r
+ <title>resource_attr_map</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>resource</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
+ <xref linkend="booking.table.resource"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>resource_attr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
;\r
\r
\r
+ \r
+ \r
+ \r
\r
NOT NULL;\r
\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="booking.table.resource-attr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="booking.table.resource-attr-value"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="actor.table.usr-standing-penalty" xreflabel="actor.usr_standing_penalty"> \r
- <title>usr_standing_penalty</title>\r
+ <simplesect id="booking.table.resource-attr-value" xreflabel="booking.resource_attr_value"> \r
+ <title>resource_attr_value</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org_unit</entry>\r
+ <entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
+ UNIQUE#1\r
+ ;\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>standing_penalty</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
\r
\r
- <xref linkend="config.table.standing-penalty"/>\r
+ <xref linkend="actor.table.org-unit"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>staff</entry>\r
+ <entry>attr</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>set_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>stop_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="actor.table.workstation" xreflabel="actor.workstation"> \r
- <title>workstation</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
\r
\r
- \r
- \r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
\r
- UNIQUE;\r
- \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="booking.table.resource-attr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>valid_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing actor.usr_org_unit_opt_in via Foreign Key Constraints\r
+ Tables referencing booking.reservation_attr_value_map via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="actor.table.usr-org-unit-opt-in"/></para>\r
+ <para><xref linkend="booking.table.reservation-attr-value-map"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="money.table.bnm-desk-payment"/></para>\r
+ <para><xref linkend="booking.table.resource-attr-map"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- </section>\r
- \r
- <section id="asset.schema">\r
- <title>Schema asset</title>\r
- \r
- <simplesect id="asset.table.call-number" xreflabel="asset.call_number"> \r
- <title>call_number</title>\r
+ <simplesect id="booking.table.resource-type" xreflabel="booking.resource_type"> \r
+ <title>resource_type</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>elbow_room</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>fine_interval</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fine_amount</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>max_fine</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
\r
\r
\r
\r
- <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>catalog_item</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>transferable</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- NOT NULL;\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
+ \r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing asset.call_number_note via Foreign Key Constraints\r
+ Tables referencing booking.reservation via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="asset.table.call-number-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.uri-call-number-map"/></para>\r
+ <para><xref linkend="booking.table.reservation"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="container.table.call-number-bucket-item"/></para>\r
+ <para><xref linkend="booking.table.resource"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="serial.table.subscription"/></para>\r
+ <para><xref linkend="booking.table.resource-attr"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="asset.table.call-number-note" xreflabel="asset.call_number_note"> \r
- <title>call_number_note</title>\r
+ </section>\r
+ \r
+ <section id="config.schema">\r
+ <title>Schema config</title>\r
+ \r
+ <simplesect id="config.table.audience-map" xreflabel="config.audience_map"> \r
+ <title>audience_map</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>call_number</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- <xref linkend="asset.table.call-number"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </entry>\r
- </row>\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.bib-level-map" xreflabel="config.bib_level_map"> \r
+ <title>bib_level_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
\r
<row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="asset.table.copy" xreflabel="asset.copy"> \r
- <title>copy</title>\r
+ <simplesect id="config.table.bib-source" xreflabel="config.bib_source"> \r
+ <title>bib_source</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_lib</entry>\r
+ <entry>quality</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>source</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
+ UNIQUE;\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>call_number</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
\r
NOT NULL;\r
\r
\r
\r
\r
- <xref linkend="asset.table.call-number"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>transcendant</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </entry>\r
- </row>\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on bib_source</title>\r
\r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </entry>\r
- </row>\r
+ <varlistentry>\r
+ <term>bib_source_quality_check</term>\r
+ <listitem><para>CHECK (((quality >= 0) AND (quality <= 100)))</para></listitem>\r
+ </varlistentry>\r
\r
- <row>\r
- <entry>copy_number</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing vandelay.queued_bib_record via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.queued-bib-record"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.biblio-fingerprint" xreflabel="config.biblio_fingerprint"> \r
+ <title>biblio_fingerprint</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
\r
<row>\r
- <entry>status</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
- <xref linkend="config.table.copy-status"/>\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ PRIMARY KEY\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
\r
\r
\r
- <xref linkend="asset.table.copy-location"/>\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>loan_duration</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_level</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>age_protect</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT true;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>xpath</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ref</entry>\r
+ <entry>first_word</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT false;\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deposit_amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>format</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 0.00;\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>price</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry>\r
+ DEFAULT 'marcxml'::text;\r
\r
\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.billing-type" xreflabel="config.billing_type"> \r
+ <title>billing_type</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
\r
<row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
\r
\r
\r
\r
\r
\r
- \r
- <xref linkend="config.table.circ-modifier"/>\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_as_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dummy_title</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_author</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT true;\r
\r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>default_price</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
- <variablelist>\r
- <title>Constraints on copy</title>\r
- \r
- <varlistentry>\r
- <term>copy_fine_ level_check</term>\r
- <listitem><para>CHECK ((fine_level = ANY (ARRAY[1, 2, 3])))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>copy_loan_ duration_check</term>\r
- <listitem><para>CHECK ((loan_duration = ANY (ARRAY[1, 2, 3])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
\r
<itemizedlist>\r
<title>\r
- Tables referencing acq.lineitem_detail via Foreign Key Constraints\r
+ Tables referencing money.billing via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.circulation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-copy-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-request"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.hold-transit-copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.in-house-use"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.transit-copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy-transparency-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.stat-cat-entry-copy-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.copy-bucket-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="extend-reporter.table.legacy-circ-count"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.issuance"/></para>\r
+ <para><xref linkend="money.table.billing"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="asset.table.copy-location" xreflabel="asset.copy_location"> \r
- <title>copy_location</title>\r
+ <simplesect id="config.table.circ-matrix-circ-mod-test" xreflabel="config.circ_matrix_circ_mod_test"> \r
+ <title>circ_matrix_circ_mod_test</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>matchpoint</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
NOT NULL;\r
\r
\r
\r
+ <xref linkend="config.table.circ-matrix-matchpoint"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owning_lib</entry>\r
+ <entry>items_out</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ NOT NULL;\r
\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.circ_matrix_circ_mod_test_map via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.circ-matrix-circ-mod-test-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.circ-matrix-circ-mod-test-map" xreflabel="config.circ_matrix_circ_mod_test_map"> \r
+ <title>circ_matrix_circ_mod_test_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- NOT NULL;\r
\r
\r
\r
- \r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>circ_mod_test</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- DEFAULT true;\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>hold_verify</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
+ <xref linkend="config.table.circ-matrix-circ-mod-test"/>\r
+ \r
+ \r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>circ_mod</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- DEFAULT true;\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT true;\r
\r
+ \r
+ <xref linkend="config.table.circ-modifier"/>\r
+ \r
+ \r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.distribution_formula_entry via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.distribution-formula-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.issuance"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="asset.table.copy-note" xreflabel="asset.copy_note"> \r
- <title>copy_note</title>\r
+ <simplesect id="config.table.circ-matrix-matchpoint" xreflabel="config.circ_matrix_matchpoint"> \r
+ <title>circ_matrix_matchpoint</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owning_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>org_unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="asset.table.copy"/>\r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>grp</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
+ <xref linkend="permission.table.grp-tree"/>\r
+ \r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>circ_modifier</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- DEFAULT now();\r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.circ-modifier"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>marc_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- NOT NULL;\r
\r
+ \r
\r
- DEFAULT false;\r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.item-type-map"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>title</entry>\r
+ <entry>marc_form</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
+ \r
+ <xref linkend="config.table.item-form-map"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
+ <entry>marc_vr_format</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
+ <xref linkend="config.table.videorecording-format-map"/>\r
+ \r
+ \r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.copy-transparency" xreflabel="asset.copy_transparency"> \r
- <title>copy_transparency</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>copy_circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
\r
\r
- PRIMARY KEY\r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deposit_amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>ref_flag</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>juvenile_flag</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>is_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr_age_lower_bound</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>usr_age_upper_bound</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>loan_duration</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>circulate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fine_level</entry>\r
+ <entry>duration_rule</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.rule-circ-duration"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>recurring_fine_rule</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.rule-recurring-fine"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ref</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>max_fine_rule</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.rule-max-fine"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>hard_due_date</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
\r
\r
\r
+ \r
+ <xref linkend="config.table.hard-due-date"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_as_type</entry>\r
+ <entry>script_test</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>total_copy_hold_ratio</entry>\r
+ <entry>double precision</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>available_copy_hold_ratio</entry>\r
+ <entry>double precision</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
- <variablelist>\r
- <title>Constraints on copy_transparency</title>\r
- \r
- <varlistentry>\r
- <term>copy_transparency_ fine _level_check</term>\r
- <listitem><para>CHECK ((fine_level = ANY (ARRAY[1, 2, 3])))</para></listitem>\r
- </varlistentry>\r
- \r
- \r
- \r
- <varlistentry>\r
- <term>copy_transparency_ loan _duration_check</term>\r
- <listitem><para>CHECK ((loan_duration = ANY (ARRAY[1, 2, 3])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
\r
<itemizedlist>\r
<title>\r
- Tables referencing asset.copy_transparency_map via Foreign Key Constraints\r
+ Tables referencing config.circ_matrix_circ_mod_test via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="asset.table.copy-transparency-map"/></para>\r
+ <para><xref linkend="config.table.circ-matrix-circ-mod-test"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="asset.table.copy-transparency-map" xreflabel="asset.copy_transparency_map"> \r
- <title>copy_transparency_map</title>\r
+ <simplesect id="config.table.circ-modifier" xreflabel="config.circ_modifier"> \r
+ <title>circ_modifier</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>transparency</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
+ UNIQUE;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="asset.table.copy-transparency"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_copy</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
+ NOT NULL;\r
\r
- \r
\r
- UNIQUE;\r
- \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>sip2_media_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- <xref linkend="asset.table.copy"/>\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>magnetic_media</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
- \r
\r
- </entry>\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>avg_wait_time</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.lineitem_detail via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.lineitem-detail"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.circ-matrix-circ-mod-test-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="asset.table.stat-cat" xreflabel="asset.stat_cat"> \r
- <title>stat_cat</title>\r
+ <simplesect id="config.table.copy-status" xreflabel="config.copy_status"> \r
+ <title>copy_status</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#1\r
- ;\r
+ UNIQUE;\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_visible</entry>\r
+ <entry>holdable</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing asset.stat_cat_entry via Foreign Key Constraints\r
+ Tables referencing action.transit_copy via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="asset.table.stat-cat-entry"/></para>\r
+ <para><xref linkend="action.table.transit-copy"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="asset.table.stat-cat-entry-copy-map"/></para>\r
+ <para><xref linkend="asset.table.copy"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy-template"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
</para>\r
</simplesect>\r
\r
- <simplesect id="asset.table.stat-cat-entry" xreflabel="asset.stat_cat_entry"> \r
- <title>stat_cat_entry</title>\r
+ <simplesect id="config.table.global-flag" xreflabel="config.global_flag"> \r
+ <title>global_flag</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stat_cat</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="asset.table.stat-cat"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry>enabled</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
+ <entry>label</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing asset.stat_cat_entry_copy_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.stat-cat-entry-copy-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="asset.table.stat-cat-entry-copy-map" xreflabel="asset.stat_cat_entry_copy_map"> \r
- <title>stat_cat_entry_copy_map</title>\r
+ <simplesect id="config.table.hard-due-date" xreflabel="config.hard_due_date"> \r
+ <title>hard_due_date</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stat_cat</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#1\r
- ;\r
+ UNIQUE;\r
\r
\r
\r
\r
\r
\r
- <xref linkend="asset.table.stat-cat"/>\r
- \r
- \r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stat_cat_entry</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>ceiling_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- <xref linkend="asset.table.stat-cat-entry"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owning_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
+ <entry>forceto</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- \r
+ NOT NULL;\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- \r
- <xref linkend="asset.table.copy"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on hard_due_date</title>\r
+ \r
+ <varlistentry>\r
+ <term>hard_due_date_name_check</term>\r
+ <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.hard-due-date-values"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="asset.table.stat-cat-entry-transparency-map" xreflabel="asset.stat_cat_entry_transparency_map"> \r
- <title>stat_cat_entry_transparency_map</title>\r
+ <simplesect id="config.table.hard-due-date-values" xreflabel="config.hard_due_date_values"> \r
+ <title>hard_due_date_values</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stat_cat</entry>\r
+ <entry>hard_due_date</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
NOT NULL;\r
\r
\r
\r
+ <xref linkend="config.table.hard-due-date"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stat_cat_entry</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>ceiling_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owning_transparency</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry>active_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="asset.table.uri" xreflabel="asset.uri"> \r
- <title>uri</title>\r
+ <simplesect id="config.table.hold-matrix-matchpoint" xreflabel="config.hold_matrix_matchpoint"> \r
+ <title>hold_matrix_matchpoint</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>href</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT true;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>user_home_ou</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>use_restriction</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>request_ou</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- DEFAULT true;\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing asset.uri_call_number_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.uri-call-number-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.subscription"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="asset.table.uri-call-number-map" xreflabel="asset.uri_call_number_map"> \r
- <title>uri_call_number_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>pickup_ou</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
\r
\r
\r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
\r
\r
\r
\r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>uri</entry>\r
+ <entry>item_owning_ou</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="asset.table.uri"/>\r
+ <xref linkend="actor.table.org-unit"/>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>call_number</entry>\r
+ <entry>item_circ_ou</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="asset.table.call-number"/>\r
+ <xref linkend="actor.table.org-unit"/>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="auditor.schema">\r
- <title>Schema auditor</title>\r
- \r
- <simplesect id="auditor.table.actor-org-unit-history" xreflabel="auditor.actor_org_unit_history"> \r
- <title>actor_org_unit_history</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>usr_grp</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
\r
\r
\r
+ \r
\r
- \r
- \r
+ UNIQUE#1\r
+ ;\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
+ \r
+ <xref linkend="permission.table.grp-tree"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>requestor_grp</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
+ \r
\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_ou</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ \r
+ <xref linkend="permission.table.grp-tree"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ou_type</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>circ_modifier</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- NOT NULL;\r
\r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ill_address</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
+ \r
+ <xref linkend="config.table.circ-modifier"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>holds_address</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>marc_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mailing_address</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_address</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
+ \r
+ <xref linkend="config.table.item-type-map"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>shortname</entry>\r
+ <entry>marc_form</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
- NOT NULL;\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
+ \r
+ <xref linkend="config.table.item-form-map"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>email</entry>\r
+ <entry>marc_vr_format</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>phone</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.videorecording-format-map"/>\r
+ \r
+ \r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_visible</entry>\r
+ <entry>juvenile_flag</entry>\r
<entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="auditor.view.actor-org-unit-lifecycle" xreflabel="auditor.actor_org_unit_lifecycle"> \r
- <title>actor_org_unit_lifecycle</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>ref_flag</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>holdable</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>parent_ou</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ou_type</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>distance_is_from_owner</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ill_address</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>holds_address</entry>\r
+ <entry>transit_range</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>mailing_address</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.org-unit-type"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>billing_address</entry>\r
+ <entry>max_holds</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>shortname</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry>include_frozen_holds</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>stop_blocked_user</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>phone</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>age_hold_protect_rule</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.rule-age-hold-protect"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="auditor.table.actor-usr-address-history" xreflabel="auditor.actor_usr_address_history"> \r
- <title>actor_usr_address_history</title>\r
+ <simplesect id="config.table.i18n-core" xreflabel="config.i18n_core"> \r
+ <title>i18n_core</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>fq_field</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>audit_action</entry>\r
+ <entry>identity_value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>translation</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>valid</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="config.table.i18n-locale"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>within_city_limits</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>string</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.i18n-locale" xreflabel="config.i18n_locale"> \r
+ <title>i18n_locale</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>address_type</entry>\r
+ <entry>code</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>marc_code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="config.table.language-map"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>street1</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>street2</entry>\r
+ <entry>description</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.i18n_core via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.i18n-core"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.identification-type" xreflabel="config.identification_type"> \r
+ <title>identification_type</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>city</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>county</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing actor.usr via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.idl-field-doc" xreflabel="config.idl_field_doc"> \r
+ <title>idl_field_doc</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>state</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>country</entry>\r
+ <entry>fm_class</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>post_code</entry>\r
+ <entry>field</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pending</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>replaces</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>string</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="auditor.view.actor-usr-address-lifecycle" xreflabel="auditor.actor_usr_address_lifecycle"> \r
- <title>actor_usr_address_lifecycle</title>\r
+ <simplesect id="config.table.index-normalizer" xreflabel="config.index_normalizer"> \r
+ <title>index_normalizer</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>audit_action</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>valid</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>within_city_limits</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>address_type</entry>\r
+ <entry>func</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>param_count</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>street1</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- <row>\r
- <entry>street2</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.metabib_field_index_norm_map via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.metabib-field-index-norm-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.internal-flag" xreflabel="config.internal_flag"> \r
+ <title>internal_flag</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
\r
<row>\r
- <entry>city</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>county</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>state</entry>\r
+ <entry>value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>country</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry>enabled</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>post_code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="auditor.table.actor-usr-history" xreflabel="auditor.actor_usr_history"> \r
- <title>actor_usr_history</title>\r
+ <simplesect id="config.table.item-form-map" xreflabel="config.item_form_map"> \r
+ <title>item_form_map</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.item-type-map" xreflabel="config.item_type_map"> \r
+ <title>item_type_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>audit_action</entry>\r
+ <entry>code</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.language-map" xreflabel="config.language_map"> \r
+ <title>language_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>card</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>profile</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usrname</entry>\r
+ <entry>value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- <row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.i18n_locale via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.i18n-locale"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.lit-form-map" xreflabel="config.lit_form_map"> \r
+ <title>lit_form_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
\r
<row>\r
- <entry>passwd</entry>\r
+ <entry>code</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>standing</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ident_type</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ident_value</entry>\r
+ <entry>description</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.marc21-ff-pos-map" xreflabel="config.marc21_ff_pos_map"> \r
+ <title>marc21_ff_pos_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>ident_type2</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_value2</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>net_access_level</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>fixed_field</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>photo_url</entry>\r
+ <entry>tag</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>prefix</entry>\r
+ <entry>rec_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>first_given_name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>start_pos</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>second_given_name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>length</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>family_name</entry>\r
+ <entry>default_val</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT ' '::text;\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.marc21-physical-characteristic-subfield-map" xreflabel="config.marc21_physical_characteristic_subfield_map"> \r
+ <title>marc21_physical_characteristic_subfield_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>suffix</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>day_phone</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>evening_phone</entry>\r
+ <entry>ptype_key</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>other_phone</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.marc21-physical-characteristic-type-map"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>mailing_address</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>subfield</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>billing_address</entry>\r
+ <entry>start_pos</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>home_ou</entry>\r
+ <entry>length</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dob</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.marc21_physical_characteristic_value_map via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.marc21-physical-characteristic-value-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.marc21-physical-characteristic-type-map" xreflabel="config.marc21_physical_characteristic_type_map"> \r
+ <title>marc21_physical_characteristic_type_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>ptype_key</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>master_account</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>super_user</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.marc21_physical_characteristic_subfield_map via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.marc21-physical-characteristic-subfield-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.marc21-physical-characteristic-value-map" xreflabel="config.marc21_physical_characteristic_value_map"> \r
+ <title>marc21_physical_characteristic_value_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>barred</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usrgroup</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>claims_returned_count</entry>\r
+ <entry>ptype_subfield</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="config.table.marc21-physical-characteristic-subfield-map"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>credit_forward_balance</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.marc21-rec-type-map" xreflabel="config.marc21_rec_type_map"> \r
+ <title>marc21_rec_type_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>last_xact_id</entry>\r
+ <entry>code</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>alert_message</entry>\r
+ <entry>type_val</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>blvl_val</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.metabib-class" xreflabel="config.metabib_class"> \r
+ <title>metabib_class</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>expire_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>alias</entry>\r
+ <entry>label</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>juvenile</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.metabib_field via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.metabib-field"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.metabib-search-alias"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="auditor.view.actor-usr-lifecycle" xreflabel="auditor.actor_usr_lifecycle"> \r
- <title>actor_usr_lifecycle</title>\r
+ <simplesect id="config.table.metabib-field" xreflabel="config.metabib_field"> \r
+ <title>metabib_field</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>audit_action</entry>\r
+ <entry>field_class</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.metabib-class"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>card</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>profile</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usrname</entry>\r
+ <entry>xpath</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>weight</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT 1;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>passwd</entry>\r
+ <entry>format</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>standing</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT 'mods33'::text;\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="config.table.xml-transform"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ident_type</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>search_field</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ident_value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ident_type2</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>facet_field</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ident_value2</entry>\r
+ <entry>facet_xpath</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.metabib_field_index_norm_map via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.metabib-field-index-norm-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.metabib-search-alias"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="metabib.table.author-field-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="metabib.table.identifier-field-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="metabib.table.keyword-field-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="metabib.table.series-field-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="metabib.table.subject-field-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="metabib.table.title-field-entry"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="search.table.relevance-adjustment"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.metabib-field-index-norm-map" xreflabel="config.metabib_field_index_norm_map"> \r
+ <title>metabib_field_index_norm_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>net_access_level</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>photo_url</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>prefix</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>field</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>first_given_name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.metabib-field"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>second_given_name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>norm</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>family_name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.index-normalizer"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>suffix</entry>\r
+ <entry>params</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>day_phone</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>pos</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.metabib-search-alias" xreflabel="config.metabib_search_alias"> \r
+ <title>metabib_search_alias</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>evening_phone</entry>\r
+ <entry>alias</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>other_phone</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>mailing_address</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>field_class</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_address</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.metabib-class"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>home_ou</entry>\r
+ <entry>field</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dob</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.metabib-field"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.net-access-level" xreflabel="config.net_access_level"> \r
+ <title>net_access_level</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>master_account</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>super_user</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barred</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing actor.usr via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.non-cataloged-type" xreflabel="config.non_cataloged_type"> \r
+ <title>non_cataloged_type</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usrgroup</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>claims_returned_count</entry>\r
+ <entry>owning_lib</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>credit_forward_balance</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_xact_id</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>circ_duration</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '14 days'::interval;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>expire_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>in_house</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action.non_cat_in_house_use via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.non-cat-in-house-use"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.non-cataloged-circulation"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="auditor.table.asset-call-number-history" xreflabel="auditor.asset_call_number_history"> \r
- <title>asset_call_number_history</title>\r
+ <simplesect id="config.table.org-unit-setting-type" xreflabel="config.org_unit_setting_type"> \r
+ <title>org_unit_setting_type</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ UNIQUE;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>grp</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
+ <xref linkend="config.table.settings-group"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>datatype</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
+ DEFAULT 'string'::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>fm_class</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owning_lib</entry>\r
+ <entry>view_perm</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
+ <xref linkend="permission.table.perm-list"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>update_perm</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="permission.table.perm-list"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on org_unit_setting_type</title>\r
+ \r
+ <varlistentry>\r
+ <term>coust_no_empty_link</term>\r
+ <listitem><para>CHECK ((((datatype = 'link'::text) AND (fm_class IS NOT NULL)) OR ((datatype <> 'link'::text) AND (fm_class IS NULL))))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ \r
+ \r
+ <varlistentry>\r
+ <term>coust_valid_datatype</term>\r
+ <listitem><para>CHECK ((datatype = ANY (ARRAY['bool'::text, 'integer'::text, 'float'::text, 'currency'::text, 'interval'::text, 'date'::text, 'string'::text, 'object'::text, 'array'::text, 'link'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing actor.org_unit_setting via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.org-unit-setting"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="auditor.view.asset-call-number-lifecycle" xreflabel="auditor.asset_call_number_lifecycle"> \r
- <title>asset_call_number_lifecycle</title>\r
+ <simplesect id="config.table.remote-account" xreflabel="config.remote_account"> \r
+ <title>remote_account</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>audit_action</entry>\r
+ <entry>label</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>host</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>username</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>password</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>account</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>path</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owning_lib</entry>\r
+ <entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>last_activity</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="auditor.table.asset-copy-history" xreflabel="auditor.asset_copy_history"> \r
- <title>asset_copy_history</title>\r
+ <simplesect id="config.table.rule-age-hold-protect" xreflabel="config.rule_age_hold_protect"> \r
+ <title>rule_age_hold_protect</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ UNIQUE;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>age</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_lib</entry>\r
+ <entry>prox</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on rule_age_hold_protect</title>\r
+ \r
+ <varlistentry>\r
+ <term>rule_age_hold_protect_name_check</term>\r
+ <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.hold_matrix_matchpoint via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.rule-circ-duration" xreflabel="config.rule_circ_duration"> \r
+ <title>rule_circ_duration</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>call_number</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
+ \r
\r
+ UNIQUE;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>extended</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>copy_number</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>normal</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>status</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>shrt</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>location</entry>\r
+ <entry>max_renewals</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on rule_circ_duration</title>\r
+ \r
+ <varlistentry>\r
+ <term>rule_circ_duration_name_check</term>\r
+ <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.rule-max-fine" xreflabel="config.rule_max_fine"> \r
+ <title>rule_max_fine</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>loan_duration</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fine_level</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>age_protect</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circulate</entry>\r
+ <entry>is_percent</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on rule_max_fine</title>\r
+ \r
+ <varlistentry>\r
+ <term>rule_max_fine_name_check</term>\r
+ <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.rule-recurring-fine" xreflabel="config.rule_recurring_fine"> \r
+ <title>rule_recurring_fine</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ref</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>high</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deposit_amount</entry>\r
+ <entry>normal</entry>\r
<entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>price</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry>\r
+ <entry>low</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>recurrence_interval</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT '1 day'::interval;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on rule_recurring_fine</title>\r
+ \r
+ <varlistentry>\r
+ <term>rule_recurring_fine_name_check</term>\r
+ <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.settings-group" xreflabel="config.settings_group"> \r
+ <title>settings_group</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>circ_modifier</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_as_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dummy_title</entry>\r
+ <entry>label</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_author</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.org_unit_setting_type via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.org-unit-setting-type"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.usr-setting-type"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.standing" xreflabel="config.standing"> \r
+ <title>standing</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing actor.usr via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="auditor.view.asset-copy-lifecycle" xreflabel="auditor.asset_copy_lifecycle"> \r
- <title>asset_copy_lifecycle</title>\r
+ <simplesect id="config.table.standing-penalty" xreflabel="config.standing_penalty"> \r
+ <title>standing_penalty</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>audit_action</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>block_list</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>call_number</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>org_depth</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing actor.usr_standing_penalty via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr-standing-penalty"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.grp-penalty-threshold"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.upgrade-log" xreflabel="config.upgrade_log"> \r
+ <title>upgrade_log</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>editor</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>version</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>edit_date</entry>\r
+ <entry>install_date</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.usr-setting-type" xreflabel="config.usr_setting_type"> \r
+ <title>usr_setting_type</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>copy_number</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>status</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>location</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>loan_duration</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_level</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>age_protect</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
+ <entry>grp</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.settings-group"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ref</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>datatype</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT 'string'::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>fm_class</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on usr_setting_type</title>\r
+ \r
+ <varlistentry>\r
+ <term>coust_no_empty_link</term>\r
+ <listitem><para>CHECK ((((datatype = 'link'::text) AND (fm_class IS NOT NULL)) OR ((datatype <> 'link'::text) AND (fm_class IS NULL))))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ \r
+ \r
+ <varlistentry>\r
+ <term>coust_valid_datatype</term>\r
+ <listitem><para>CHECK ((datatype = ANY (ARRAY['bool'::text, 'integer'::text, 'float'::text, 'currency'::text, 'interval'::text, 'date'::text, 'string'::text, 'object'::text, 'array'::text, 'link'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action_trigger.event_definition via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action-trigger.table.event-definition"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr-setting"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.videorecording-format-map" xreflabel="config.videorecording_format_map"> \r
+ <title>videorecording_format_map</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>deposit_amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>price</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>barcode</entry>\r
+ <entry>value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.xml-transform" xreflabel="config.xml_transform"> \r
+ <title>xml_transform</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>circ_as_type</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>dummy_title</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dummy_author</entry>\r
+ <entry>namespace_uri</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>alert_message</entry>\r
+ <entry>prefix</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry><para>\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>xslt</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.metabib_field via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.metabib-field"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="auditor.table.biblio-record-entry-history" xreflabel="auditor.biblio_record_entry_history"> \r
- <title>biblio_record_entry_history</title>\r
+ <simplesect id="config.table.z3950-attr" xreflabel="config.z3950_attr"> \r
+ <title>z3950_attr</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>audit_id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>source</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
+ \r
\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="config.table.z3950-source"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>editor</entry>\r
+ <entry>code</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source</entry>\r
+ <entry>format</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>truncation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="config.table.z3950-source" xreflabel="config.z3950_source"> \r
+ <title>z3950_source</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>host</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fingerprint</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>port</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>tcn_source</entry>\r
+ <entry>db</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>tcn_value</entry>\r
+ <entry>record_format</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT 'FI'::text;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>marc</entry>\r
+ <entry>transmission_format</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT 'usmarc'::text;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_xact_id</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>auth</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT true;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.z3950_attr via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.z3950-attr"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="auditor.view.biblio-record-entry-lifecycle" xreflabel="auditor.biblio_record_entry_lifecycle"> \r
- <title>biblio_record_entry_lifecycle</title>\r
+ </section>\r
+ \r
+ <section id="container.schema">\r
+ <title>Schema container</title>\r
+ \r
+ <simplesect id="container.table.biblio-record-entry-bucket" xreflabel="container.biblio_record_entry_bucket"> \r
+ <title>biblio_record_entry_bucket</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>?column?</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audit_action</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>editor</entry>\r
+ <entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
+ NOT NULL;\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>btype</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
+ NOT NULL;\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fingerprint</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ DEFAULT 'misc'::text;\r
\r
\r
+ \r
+ <xref linkend="container.table.biblio-record-entry-bucket-type"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>tcn_source</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry>pub</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_xact_id</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing container.biblio_record_entry_bucket_item via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.biblio-record-entry-bucket-item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.biblio-record-entry-bucket-note"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- </section>\r
- \r
- <section id="authority.schema">\r
- <title>Schema authority</title>\r
- \r
- <simplesect id="authority.table.full-rec" xreflabel="authority.full_rec"> \r
- <title>full_rec</title>\r
+ <simplesect id="container.table.biblio-record-entry-bucket-item" xreflabel="container.biblio_record_entry_bucket_item"> \r
+ <title>biblio_record_entry_bucket_item</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>bucket</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="container.table.biblio-record-entry-bucket"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>tag</entry>\r
- <entry>character(3)</entry>\r
- <entry>\r
+ <entry>target_biblio_record_entry</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ind1</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>pos</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing container.biblio_record_entry_bucket_item_note via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.biblio-record-entry-bucket-item-note"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="container.table.biblio-record-entry-bucket-item-note" xreflabel="container.biblio_record_entry_bucket_item_note"> \r
+ <title>biblio_record_entry_bucket_item_note</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>ind2</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>subfield</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>item</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="container.table.biblio-record-entry-bucket-item"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>index_vector</entry>\r
- <entry>public.tsvector</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="authority.table.rec-descriptor" xreflabel="authority.rec_descriptor"> \r
- <title>rec_descriptor</title>\r
+ <simplesect id="container.table.biblio-record-entry-bucket-note" xreflabel="container.biblio_record_entry_bucket_note"> \r
+ <title>biblio_record_entry_bucket_note</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>bucket</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record_status</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="container.table.biblio-record-entry-bucket"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>char_encoding</entry>\r
+ <entry>note</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="authority.table.record-entry" xreflabel="authority.record_entry"> \r
- <title>record_entry</title>\r
+ <simplesect id="container.table.biblio-record-entry-bucket-type" xreflabel="container.biblio_record_entry_bucket_type"> \r
+ <title>biblio_record_entry_bucket_type</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>arn_source</entry>\r
+ <entry>label</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 'AUTOGEN'::text;\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing container.biblio_record_entry_bucket via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.biblio-record-entry-bucket"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="container.table.call-number-bucket" xreflabel="container.call_number_bucket"> \r
+ <title>call_number_bucket</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>arn_value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
+ <entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry><para>\r
\r
+ \r
\r
- DEFAULT 1;\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 1;\r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>btype</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- NOT NULL;\r
\r
+ \r
\r
- DEFAULT now();\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
- NOT NULL;\r
+ DEFAULT 'misc'::text;\r
\r
\r
- DEFAULT true;\r
+ \r
+ <xref linkend="container.table.call-number-bucket-type"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deleted</entry>\r
+ <entry>pub</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT false;\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_xact_id</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing authority.record_note via Foreign Key Constraints\r
+ Tables referencing container.call_number_bucket_item via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="authority.table.record-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.authority-match"/></para>\r
+ <para><xref linkend="container.table.call-number-bucket-item"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="vandelay.table.queued-authority-record"/></para>\r
+ <para><xref linkend="container.table.call-number-bucket-note"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="authority.table.record-note" xreflabel="authority.record_note"> \r
- <title>record_note</title>\r
+ <simplesect id="container.table.call-number-bucket-item" xreflabel="container.call_number_bucket_item"> \r
+ <title>call_number_bucket_item</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>bucket</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="authority.table.record-entry"/>\r
+ <xref linkend="container.table.call-number-bucket"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>creator</entry>\r
+ <entry>target_call_number</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 1;\r
\r
+ \r
+ <xref linkend="asset.table.call-number"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>pos</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>edit_date</entry>\r
+ <entry>create_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing container.call_number_bucket_item_note via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.call-number-bucket-item-note"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="authority.view.tracing-links" xreflabel="authority.tracing_links"> \r
- <title>tracing_links</title>\r
+ <simplesect id="container.table.call-number-bucket-item-note" xreflabel="container.call_number_bucket_item_note"> \r
+ <title>call_number_bucket_item_note</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>main_id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>main_tag</entry>\r
- <entry>character(3)</entry>\r
- <entry>\r
+ <entry>item</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>main_value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="container.table.call-number-bucket-item"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>relationship</entry>\r
+ <entry>note</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>use_restriction</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="container.table.call-number-bucket-note" xreflabel="container.call_number_bucket_note"> \r
+ <title>call_number_bucket_note</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>deprecation</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>display_restriction</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>link_id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>bucket</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>link_tag</entry>\r
- <entry>character(3)</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="container.table.call-number-bucket"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>link_value</entry>\r
+ <entry>note</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- </section>\r
- \r
- <section id="biblio.schema">\r
- <title>Schema biblio</title>\r
- \r
- <simplesect id="biblio.table.record-entry" xreflabel="biblio.record_entry"> \r
- <title>record_entry</title>\r
+ <simplesect id="container.table.call-number-bucket-type" xreflabel="container.call_number_bucket_type"> \r
+ <title>call_number_bucket_type</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
+ UNIQUE;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 1;\r
- \r
\r
\r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing container.call_number_bucket via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.call-number-bucket"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="container.table.copy-bucket" xreflabel="container.copy_bucket"> \r
+ <title>copy_bucket</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
- \r
- DEFAULT 1;\r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
\r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>quality</entry>\r
+ <entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry><para>\r
\r
+ \r
\r
- DEFAULT true;\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fingerprint</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_source</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 'AUTOGEN'::text;\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>tcn_value</entry>\r
+ <entry>btype</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT next_autogen_tcn_value();\r
+ DEFAULT 'misc'::text;\r
+ \r
+ \r
+ \r
\r
+ \r
+ <xref linkend="container.table.copy-bucket-type"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>marc</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>pub</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_xact_id</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing acq.lineitem via Foreign Key Constraints\r
+ Tables referencing container.copy_bucket_item via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="acq.table.lineitem"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.call-number"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="biblio.table.record-note"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-type"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.biblio-record-entry-bucket-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.author-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.keyword-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.metarecord"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.metarecord-source-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.real-full-rec"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.rec-descriptor"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.subject-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.title-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.record-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.bib-match"/></para>\r
+ <para><xref linkend="container.table.copy-bucket-item"/></para>\r
</listitem>\r
\r
\r
\r
<listitem>\r
- <para><xref linkend="vandelay.table.queued-bib-record"/></para>\r
+ <para><xref linkend="container.table.copy-bucket-note"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="biblio.table.record-note" xreflabel="biblio.record_note"> \r
- <title>record_note</title>\r
+ <simplesect id="container.table.copy-bucket-item" xreflabel="container.copy_bucket_item"> \r
+ <title>copy_bucket_item</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>bucket</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="biblio.table.record-entry"/>\r
+ <xref linkend="container.table.copy-bucket"/>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
+ <entry>target_copy</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 1;\r
- \r
\r
\r
- <xref linkend="actor.table.usr"/>\r
+ <xref linkend="asset.table.copy"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>editor</entry>\r
+ <entry>pos</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT 1;\r
+ NOT NULL;\r
\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
+ DEFAULT now();\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing container.copy_bucket_item_note via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.copy-bucket-item-note"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="container.table.copy-bucket-item-note" xreflabel="container.copy_bucket_item_note"> \r
+ <title>copy_bucket_item_note</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>item</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
\r
+ \r
+ <xref linkend="container.table.copy-bucket-item"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>edit_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- </section>\r
- \r
- <section id="booking.schema">\r
- <title>Schema booking</title>\r
- \r
- <simplesect id="booking.table.reservation" xreflabel="booking.reservation"> \r
- <title>reservation</title>\r
+ <simplesect id="container.table.copy-bucket-note" xreflabel="container.copy_bucket_note"> \r
+ <title>copy_bucket_note</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('money.billable_xact_id_seq'::regclass);\r
- \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>bucket</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
+ <xref linkend="container.table.copy-bucket"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="container.table.copy-bucket-type" xreflabel="container.copy_bucket_type"> \r
+ <title>copy_bucket_type</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>request_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing container.copy_bucket via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.copy-bucket"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="container.table.user-bucket" xreflabel="container.user_bucket"> \r
+ <title>user_bucket</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>start_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>end_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>capture_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>cancel_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pickup_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>return_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>booking_interval</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>btype</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry>\r
\r
\r
+ NOT NULL;\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fine_amount</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry>\r
+ DEFAULT 'misc'::text;\r
\r
\r
+ \r
\r
+ \r
+ <xref linkend="container.table.user-bucket-type"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_resource_type</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>pub</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
- \r
- <xref linkend="booking.table.resource-type"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_resource</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
- \r
- <xref linkend="booking.table.resource"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing container.user_bucket_item via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.user-bucket-item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.user-bucket-note"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="container.table.user-bucket-item" xreflabel="container.user_bucket_item"> \r
+ <title>user_bucket_item</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>current_resource</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
\r
\r
\r
\r
\r
\r
- <xref linkend="booking.table.resource"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>request_lib</entry>\r
+ <entry>bucket</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="container.table.user-bucket"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pickup_lib</entry>\r
+ <entry>target_user</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>capture_staff</entry>\r
+ <entry>pos</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry><para>\r
\r
\r
\r
\r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing action.reservation_transit_copy via Foreign Key Constraints\r
+ Tables referencing container.user_bucket_item_note via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="action.table.reservation-transit-copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.reservation-attr-value-map"/></para>\r
+ <para><xref linkend="container.table.user-bucket-item-note"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="booking.table.reservation-attr-value-map" xreflabel="booking.reservation_attr_value_map"> \r
- <title>reservation_attr_value_map</title>\r
+ <simplesect id="container.table.user-bucket-item-note" xreflabel="container.user_bucket_item_note"> \r
+ <title>user_bucket_item_note</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>reservation</entry>\r
+ <entry>item</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- \r
- \r
- <xref linkend="booking.table.reservation"/>\r
+ <xref linkend="container.table.user-bucket-item"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>attr_value</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- \r
- <xref linkend="booking.table.resource-attr-value"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="booking.table.resource" xreflabel="booking.resource"> \r
- <title>resource</title>\r
+ <simplesect id="container.table.user-bucket-note" xreflabel="container.user_bucket_note"> \r
+ <title>user_bucket_note</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
+ <entry>bucket</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="container.table.user-bucket"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>type</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- <xref linkend="booking.table.resource-type"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="container.table.user-bucket-type" xreflabel="container.user_bucket_type"> \r
+ <title>user_bucket_type</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>overbook</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>barcode</entry>\r
+ <entry>label</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#1\r
- ;\r
+ UNIQUE;\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing container.user_bucket via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="container.table.user-bucket"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ </section>\r
+ \r
+ <section id="extend-reporter.schema">\r
+ <title>Schema extend_reporter</title>\r
+ \r
+ <simplesect id="extend-reporter.view.full-circ-count" xreflabel="extend_reporter.full_circ_count"> \r
+ <title>full_circ_count</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deposit_amount</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry>\r
+ <entry>circ_count</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT 0.00;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="extend-reporter.view.global-bibs-by-holding-update" xreflabel="extend_reporter.global_bibs_by_holding_update"> \r
+ <title>global_bibs_by_holding_update</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>user_fee</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry>\r
+ <entry>holding_update</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT 0.00;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>update_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.reservation_transit_copy via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.reservation-transit-copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.reservation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="booking.table.resource-attr" xreflabel="booking.resource_attr"> \r
- <title>resource_attr</title>\r
+ <simplesect id="extend-reporter.table.legacy-circ-count" xreflabel="extend_reporter.legacy_circ_count"> \r
+ <title>legacy_circ_count</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
+ <entry>circ_count</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ </section>\r
+ \r
+ <section id="metabib.schema">\r
+ <title>Schema metabib</title>\r
+ \r
+ <simplesect id="metabib.table.author-field-entry" xreflabel="metabib.author_field_entry"> \r
+ <title>author_field_entry</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>source</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
NOT NULL;\r
\r
\r
\r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>resource_type</entry>\r
+ <entry>field</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- \r
- \r
- <xref linkend="booking.table.resource-type"/>\r
+ <xref linkend="config.table.metabib-field"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>required</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>index_vector</entry>\r
+ <entry>tsvector</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing booking.resource_attr_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr-value"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="booking.table.resource-attr-map" xreflabel="booking.resource_attr_map"> \r
- <title>resource_attr_map</title>\r
+ <simplesect id="metabib.table.facet-entry" xreflabel="metabib.facet_entry"> \r
+ <title>facet_entry</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>resource</entry>\r
+ <entry>source</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>field</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ NOT NULL;\r
\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
NOT NULL;\r
\r
\r
\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="metabib.view.full-rec" xreflabel="metabib.full_rec"> \r
+ <title>full_rec</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
- \r
- <xref linkend="booking.table.resource"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>resource_attr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
- \r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>tag</entry>\r
+ <entry>character(3)</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ind1</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
- \r
- <xref linkend="booking.table.resource-attr"/>\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ind2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>subfield</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>value</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>index_vector</entry>\r
+ <entry>tsvector</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="booking.table.resource-attr-value"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="booking.table.resource-attr-value" xreflabel="booking.resource_attr_value"> \r
- <title>resource_attr_value</title>\r
+ <simplesect id="metabib.table.identifier-field-entry" xreflabel="metabib.identifier_field_entry"> \r
+ <title>identifier_field_entry</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry>source</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="biblio.table.record-entry"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>attr</entry>\r
+ <entry>field</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- \r
- \r
- <xref linkend="booking.table.resource-attr"/>\r
+ <xref linkend="config.table.metabib-field"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>valid_value</entry>\r
+ <entry>value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ NOT NULL;\r
\r
\r
- NOT NULL;\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>index_vector</entry>\r
+ <entry>tsvector</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing booking.reservation_attr_value_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.reservation-attr-value-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="booking.table.resource-type" xreflabel="booking.resource_type"> \r
- <title>resource_type</title>\r
+ <simplesect id="metabib.table.keyword-field-entry" xreflabel="metabib.keyword_field_entry"> \r
+ <title>keyword_field_entry</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>source</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
NOT NULL;\r
\r
\r
\r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>field</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.metabib-field"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fine_amount</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
+ <entry>index_vector</entry>\r
+ <entry>tsvector</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="metabib.table.metarecord" xreflabel="metabib.metarecord"> \r
+ <title>metarecord</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>catalog_item</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>transferable</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>fingerprint</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>record</entry>\r
+ <entry>master_record</entry>\r
<entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- \r
- \r
<xref linkend="biblio.table.record-entry"/>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>elbow_room</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>mods</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
<itemizedlist>\r
<title>\r
- Tables referencing booking.reservation via Foreign Key Constraints\r
+ Tables referencing metabib.metarecord_source_map via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="booking.table.reservation"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="booking.table.resource-attr"/></para>\r
+ <para><xref linkend="metabib.table.metarecord-source-map"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- </section>\r
- \r
- <section id="config.schema">\r
- <title>Schema config</title>\r
- \r
- <simplesect id="config.table.audience-map" xreflabel="config.audience_map"> \r
- <title>audience_map</title>\r
+ <simplesect id="metabib.table.metarecord-source-map" xreflabel="metabib.metarecord_source_map"> \r
+ <title>metarecord_source_map</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>metarecord</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="metabib.table.metarecord"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>source</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.bib-level-map" xreflabel="config.bib_level_map"> \r
- <title>bib_level_map</title>\r
+ <simplesect id="metabib.table.real-full-rec" xreflabel="metabib.real_full_rec"> \r
+ <title>real_full_rec</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
+ DEFAULT nextval('metabib.full_rec_id_seq'::regclass);\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
\r
\r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>tag</entry>\r
+ <entry>character(3)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ind1</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ind2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>subfield</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>index_vector</entry>\r
+ <entry>tsvector</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.bib-source" xreflabel="config.bib_source"> \r
- <title>bib_source</title>\r
+ <simplesect id="metabib.table.rec-descriptor" xreflabel="metabib.rec_descriptor"> \r
+ <title>rec_descriptor</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source</entry>\r
+ <entry>item_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_form</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>transcendant</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>bib_level</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT false;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>control_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on bib_source</title>\r
+ <row>\r
+ <entry>char_encoding</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
- <varlistentry>\r
- <term>bib_source_ quality_check</term>\r
- <listitem><para>CHECK (((quality >= 0) AND (quality <= 100)))</para></listitem>\r
- </varlistentry>\r
+ <row>\r
+ <entry>enc_level</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing vandelay.queued_bib_record via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.queued-bib-record"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.billing-type" xreflabel="config.billing_type"> \r
- <title>billing_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>audience</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>lit_form</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>type_mat</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
+ <entry>cat_form</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pub_status</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>item_lang</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
- \r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>vr_format</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>date1</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
- \r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>default_price</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>date2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing money.billing via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="money.table.billing"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.circ-matrix-circ-mod-test" xreflabel="config.circ_matrix_circ_mod_test"> \r
- <title>circ_matrix_circ_mod_test</title>\r
+ <simplesect id="metabib.table.series-field-entry" xreflabel="metabib.series_field_entry"> \r
+ <title>series_field_entry</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>source</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>matchpoint</entry>\r
+ <entry>field</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="config.table.circ-matrix-matchpoint"/>\r
+ <xref linkend="config.table.metabib-field"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>items_out</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>index_vector</entry>\r
+ <entry>tsvector</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_circ_mod_test_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-circ-mod-test-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.circ-matrix-circ-mod-test-map" xreflabel="config.circ_matrix_circ_mod_test_map"> \r
- <title>circ_matrix_circ_mod_test_map</title>\r
+ <simplesect id="metabib.table.subject-field-entry" xreflabel="metabib.subject_field_entry"> \r
+ <title>subject_field_entry</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_mod_test</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>source</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="config.table.circ-matrix-circ-mod-test"/>\r
- \r
- \r
+ <xref linkend="biblio.table.record-entry"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_mod</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>field</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.metabib-field"/>\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
NOT NULL;\r
\r
\r
\r
- \r
- <xref linkend="config.table.circ-modifier"/>\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>index_vector</entry>\r
+ <entry>tsvector</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.circ-matrix-matchpoint" xreflabel="config.circ_matrix_matchpoint"> \r
- <title>circ_matrix_matchpoint</title>\r
+ <simplesect id="metabib.table.title-field-entry" xreflabel="metabib.title_field_entry"> \r
+ <title>title_field_entry</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT true;\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>source</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
+ <xref linkend="biblio.table.record-entry"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>grp</entry>\r
+ <entry>field</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
\r
NOT NULL;\r
\r
\r
\r
\r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
- \r
+ <xref linkend="config.table.metabib-field"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_modifier</entry>\r
+ <entry>value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
+ NOT NULL;\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>index_vector</entry>\r
+ <entry>tsvector</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- \r
- <xref linkend="config.table.circ-modifier"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ </section>\r
+ \r
+ <section id="money.schema">\r
+ <title>Schema money</title>\r
+ \r
+ <simplesect id="money.table.billable-xact" xreflabel="money.billable_xact"> \r
+ <title>billable_xact</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>marc_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
- UNIQUE#1\r
- ;\r
\r
+ PRIMARY KEY\r
+ \r
\r
\r
\r
\r
- \r
- <xref linkend="config.table.item-type-map"/>\r
- \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>marc_form</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
\r
+ NOT NULL;\r
\r
\r
\r
\r
- <xref linkend="config.table.item-form-map"/>\r
- \r
- \r
+ <xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>marc_vr_format</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>xact_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
\r
+ NOT NULL;\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ DEFAULT now();\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="config.table.videorecording-format-map"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ref_flag</entry>\r
+ <entry>unrecovered</entry>\r
<entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="money.view.billable-xact-summary" xreflabel="money.billable_xact_summary"> \r
+ <title>billable_xact_summary</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>is_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr_age_lower_bound</entry>\r
- <entry>interval</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr_age_upper_bound</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>xact_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>juvenile_flag</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>last_payment_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>duration_rule</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>last_payment_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="config.table.rule-circ-duration"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recurring_fine_rule</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>last_billing_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_billing_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="config.table.rule-recuring-fine"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_fine_rule</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>last_billing_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>balance_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="config.table.rule-max-fine"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>script_test</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>xact_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_circ_mod_test via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-circ-mod-test"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-test"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.circ-matrix-test" xreflabel="config.circ_matrix_test"> \r
- <title>circ_matrix_test</title>\r
+ <simplesect id="money.view.billable-xact-summary-location-view" xreflabel="money.billable_xact_summary_location_view"> \r
+ <title>billable_xact_summary_location_view</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>matchpoint</entry>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- \r
- <xref linkend="config.table.circ-matrix-matchpoint"/>\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT true;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_items_out</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>last_payment_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_overdue</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>last_payment_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_fines</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org_depth</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>last_billing_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>script_test</entry>\r
+ <entry>last_billing_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_billing_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>balance_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billing_location</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.circ-modifier" xreflabel="config.circ_modifier"> \r
- <title>circ_modifier</title>\r
+ <simplesect id="money.view.billable-xact-with-void-summary" xreflabel="money.billable_xact_with_void_summary"> \r
+ <title>billable_xact_with_void_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>last_payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>sip2_media_type</entry>\r
+ <entry>last_payment_note</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>magnetic_media</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>last_payment_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing acq.lineitem_detail via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="acq.table.lineitem-detail"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-circ-mod-test-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.copy-status" xreflabel="config.copy_status"> \r
- <title>copy_status</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_billing_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
+ <entry>last_billing_note</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_billing_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>balance_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>xact_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.transit_copy via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.transit-copy"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="asset.table.copy"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.hold-matrix-matchpoint" xreflabel="config.hold_matrix_matchpoint"> \r
- <title>hold_matrix_matchpoint</title>\r
+ <simplesect id="money.table.billing" xreflabel="money.billing"> \r
+ <title>billing</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT true;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>user_home_ou</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry>billing_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
+ DEFAULT now();\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>request_ou</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
+ DEFAULT false;\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pickup_ou</entry>\r
+ <entry>voider</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry><para>\r
\r
\r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>void_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>item_owning_ou</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
- \r
\r
+ NOT NULL;\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billing_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>item_circ_ou</entry>\r
+ <entry>btype</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
\r
+ NOT NULL;\r
\r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
+ <xref linkend="config.table.billing-type"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr_grp</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="money.table.bnm-desk-payment" xreflabel="money.bnm_desk_payment"> \r
+ <title>bnm_desk_payment</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
\r
+ PRIMARY KEY\r
+ \r
\r
\r
\r
\r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
+ DEFAULT nextval('money.payment_id_seq'::regclass);\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>requestor_grp</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- \r
\r
+ NOT NULL;\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
- \r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
- \r
- <xref linkend="config.table.circ-modifier"/>\r
- \r
+ DEFAULT false;\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>marc_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
- \r
+ NOT NULL;\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="config.table.item-type-map"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>marc_form</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>amount_collected</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
- \r
\r
+ NOT NULL;\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>accepting_usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- \r
- <xref linkend="config.table.item-form-map"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>marc_vr_format</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>cash_drawer</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
\r
\r
\r
- <xref linkend="config.table.videorecording-format-map"/>\r
- \r
- \r
+ <xref linkend="actor.table.workstation"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="money.table.bnm-payment" xreflabel="money.bnm_payment"> \r
+ <title>bnm_payment</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>ref_flag</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>juvenile_flag</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
\r
+ DEFAULT nextval('money.payment_id_seq'::regclass);\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>age_hold_protect_rule</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
- \r
- <xref linkend="config.table.rule-age-hold-protect"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT true;\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>distance_is_from_owner</entry>\r
+ <entry>voided</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>transit_range</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
- \r
- <xref linkend="actor.table.org-unit-type"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_holds</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>include_frozen_holds</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>amount_collected</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT true;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stop_blocked_user</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>accepting_usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.hold_matrix_test via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-test"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.hold-matrix-test" xreflabel="config.hold_matrix_test"> \r
- <title>hold_matrix_test</title>\r
+ <simplesect id="money.view.bnm-payment-view" xreflabel="money.bnm_payment_view"> \r
+ <title>bnm_payment_view</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>matchpoint</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="config.table.hold-matrix-matchpoint"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>distance_is_from_owner</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>transit_range</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="actor.table.org-unit-type"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_holds</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>include_frozen_holds</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stop_blocked_user</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>amount_collected</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>age_hold_protect_rule</entry>\r
+ <entry>accepting_usr</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- \r
- <xref linkend="config.table.rule-age-hold-protect"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.i18n-core" xreflabel="config.i18n_core"> \r
- <title>i18n_core</title>\r
+ <simplesect id="money.table.cash-payment" xreflabel="money.cash_payment"> \r
+ <title>cash_payment</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
+ DEFAULT nextval('money.payment_id_seq'::regclass);\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fq_field</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>identity_value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>translation</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
- \r
\r
+ NOT NULL;\r
\r
\r
- NOT NULL;\r
+ DEFAULT false;\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
- \r
- <xref linkend="config.table.i18n-locale"/>\r
- \r
\r
- </entry>\r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>string</entry>\r
+ <entry>note</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>amount_collected</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>accepting_usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cash_drawer</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.i18n-locale" xreflabel="config.i18n_locale"> \r
- <title>i18n_locale</title>\r
+ <simplesect id="money.view.cashdrawer-payment-view" xreflabel="money.cashdrawer_payment_view"> \r
+ <title>cashdrawer_payment_view</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>org_unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cashdrawer</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>marc_code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>payment_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="config.table.language-map"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
+ <entry>note</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.i18n_core via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.i18n-core"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.identification-type" xreflabel="config.identification_type"> \r
- <title>identification_type</title>\r
+ <simplesect id="money.table.check-payment" xreflabel="money.check_payment"> \r
+ <title>check_payment</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
+ DEFAULT nextval('money.payment_id_seq'::regclass);\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.usr via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.idl-field-doc" xreflabel="config.idl_field_doc"> \r
- <title>idl_field_doc</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fm_class</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>field</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>amount_collected</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>string</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>accepting_usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.item-form-map" xreflabel="config.item_form_map"> \r
- <title>item_form_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>cash_drawer</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
+ <entry>check_number</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.item-type-map" xreflabel="config.item_type_map"> \r
- <title>item_type_map</title>\r
+ <simplesect id="money.table.collections-tracker" xreflabel="money.collections_tracker"> \r
+ <title>collections_tracker</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.language-map" xreflabel="config.language_map"> \r
- <title>language_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>collector</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
\r
\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>location</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>enter_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.i18n_locale via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.i18n-locale"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.lit-form-map" xreflabel="config.lit_form_map"> \r
- <title>lit_form_map</title>\r
+ <simplesect id="money.table.credit-card-payment" xreflabel="money.credit_card_payment"> \r
+ <title>credit_card_payment</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
+ DEFAULT nextval('money.payment_id_seq'::regclass);\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.metabib-field" xreflabel="config.metabib_field"> \r
- <title>metabib_field</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>field_class</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
+ <entry>note</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xpath</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>amount_collected</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>weight</entry>\r
+ <entry>accepting_usr</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 1;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>format</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>cash_drawer</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT 'mods32'::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>search_field</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>cc_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT true;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cc_number</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>facet_field</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>cc_processor</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT false;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cc_first_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- <variablelist>\r
- <title>Constraints on metabib_field</title>\r
- \r
- <varlistentry>\r
- <term>metabib_field_ field_class_check</term>\r
- <listitem><para>CHECK ((lower(field_class) = ANY (ARRAY['title'::text, 'author'::text, 'subject'::text, 'keyword'::text, 'series'::text])))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing metabib.author_field_entry via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.author-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.keyword-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.subject-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.title-field-entry"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="search.table.relevance-adjustment"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.net-access-level" xreflabel="config.net_access_level"> \r
- <title>net_access_level</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>cc_last_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>expire_month</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>expire_year</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>approval_code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.usr via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.non-cataloged-type" xreflabel="config.non_cataloged_type"> \r
- <title>non_cataloged_type</title>\r
+ <simplesect id="money.table.credit-payment" xreflabel="money.credit_payment"> \r
+ <title>credit_payment</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
+ DEFAULT nextval('money.payment_id_seq'::regclass);\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_duration</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT '14 days'::interval;\r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>in_house</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>amount_collected</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>accepting_usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing action.non_cat_in_house_use via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="action.table.non-cat-in-house-use"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="action.table.non-cataloged-circulation"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.rule-age-hold-protect" xreflabel="config.rule_age_hold_protect"> \r
- <title>rule_age_hold_protect</title>\r
+ <simplesect id="money.view.desk-payment-view" xreflabel="money.desk_payment_view"> \r
+ <title>desk_payment_view</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>age</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>prox</entry>\r
+ <entry>amount_collected</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>accepting_usr</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cash_drawer</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
\r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
- <variablelist>\r
- <title>Constraints on rule_age_hold_protect</title>\r
- \r
- <varlistentry>\r
- <term>rule_age_hold_ protect_name_check</term>\r
- <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.hold_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-test"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.rule-circ-duration" xreflabel="config.rule_circ_duration"> \r
- <title>rule_circ_duration</title>\r
+ <simplesect id="money.table.forgive-payment" xreflabel="money.forgive_payment"> \r
+ <title>forgive_payment</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
+ DEFAULT nextval('money.payment_id_seq'::regclass);\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>extended</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>normal</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>shrt</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>amount_collected</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_renewals</entry>\r
+ <entry>accepting_usr</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
- <variablelist>\r
- <title>Constraints on rule_circ_duration</title>\r
- \r
- <varlistentry>\r
- <term>rule_circ_ duration_name_check</term>\r
- <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.rule-max-fine" xreflabel="config.rule_max_fine"> \r
- <title>rule_max_fine</title>\r
+ <simplesect id="money.table.goods-payment" xreflabel="money.goods_payment"> \r
+ <title>goods_payment</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
+ DEFAULT nextval('money.payment_id_seq'::regclass);\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>amount</entry>\r
<entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>is_percent</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>amount_collected</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>accepting_usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
- <variablelist>\r
- <title>Constraints on rule_max_fine</title>\r
- \r
- <varlistentry>\r
- <term>rule_max_ fine_name_check</term>\r
- <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.rule-recuring-fine" xreflabel="config.rule_recuring_fine"> \r
- <title>rule_recuring_fine</title>\r
+ <simplesect id="money.table.grocery" xreflabel="money.grocery"> \r
+ <title>grocery</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
+ DEFAULT nextval('money.billable_xact_id_seq'::regclass);\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>high</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>xact_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>normal</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>low</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
+ <entry>unrecovered</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recurance_interval</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>billing_location</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT '1 day'::interval;\r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
- <variablelist>\r
- <title>Constraints on rule_recuring_fine</title>\r
- \r
- <varlistentry>\r
- <term>rule_recuring_ fine_ name_check</term>\r
- <listitem><para>CHECK ((name ~ '^\\w+$'::text))</para></listitem>\r
- </varlistentry>\r
- \r
- </variablelist>\r
- \r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.standing" xreflabel="config.standing"> \r
- <title>standing</title>\r
+ <simplesect id="money.table.materialized-billable-xact-summary" xreflabel="money.materialized_billable_xact_summary"> \r
+ <title>materialized_billable_xact_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.usr via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.standing-penalty" xreflabel="config.standing_penalty"> \r
- <title>standing_penalty</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
+ <entry>last_payment_note</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_billing_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>block_list</entry>\r
+ <entry>last_billing_note</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_billing_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>balance_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.usr_standing_penalty via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr-standing-penalty"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.grp-penalty-threshold"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.upgrade-log" xreflabel="config.upgrade_log"> \r
- <title>upgrade_log</title>\r
+ <simplesect id="money.view.non-drawer-payment-view" xreflabel="money.non_drawer_payment_view"> \r
+ <title>non_drawer_payment_view</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>version</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>install_date</entry>\r
+ <entry>payment_ts</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.videorecording-format-map" xreflabel="config.videorecording_format_map"> \r
- <title>videorecording_format_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>code</entry>\r
+ <entry>note</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>amount_collected</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>accepting_usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.circ_matrix_matchpoint via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.xml-transform" xreflabel="config.xml_transform"> \r
- <title>xml_transform</title>\r
+ <simplesect id="money.view.open-billable-xact-summary" xreflabel="money.open_billable_xact_summary"> \r
+ <title>open_billable_xact_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>namespace_uri</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>xact_start</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>prefix</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xslt</entry>\r
+ <entry>last_payment_note</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="config.table.z3950-attr" xreflabel="config.z3950_attr"> \r
- <title>z3950_attr</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>last_payment_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_billing_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source</entry>\r
+ <entry>last_billing_note</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_billing_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>balance_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
\r
- \r
- <xref linkend="config.table.z3950-source"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
+ <entry>xact_type</entry>\r
<entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>billing_location</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="money.view.open-transaction-billing-summary" xreflabel="money.open_transaction_billing_summary"> \r
+ <title>open_transaction_billing_summary</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>code</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_billing_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>format</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>last_billing_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_billing_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>truncation</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="config.table.z3950-source" xreflabel="config.z3950_source"> \r
- <title>z3950_source</title>\r
+ <simplesect id="money.view.open-transaction-billing-type-summary" xreflabel="money.open_transaction_billing_type_summary"> \r
+ <title>open_transaction_billing_type_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>host</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>port</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>db</entry>\r
+ <entry>last_billing_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>record_format</entry>\r
+ <entry>last_billing_note</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry><para>\r
\r
\r
- DEFAULT 'FI'::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>transmission_format</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>last_billing_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT 'usmarc'::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>auth</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing config.z3950_attr via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="config.table.z3950-attr"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- </section>\r
- \r
- <section id="container.schema">\r
- <title>Schema container</title>\r
- \r
- <simplesect id="container.table.biblio-record-entry-bucket" xreflabel="container.biblio_record_entry_bucket"> \r
- <title>biblio_record_entry_bucket</title>\r
+ <simplesect id="money.view.open-transaction-payment-summary" xreflabel="money.open_transaction_payment_summary"> \r
+ <title>open_transaction_payment_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
+ <entry>last_payment_type</entry>\r
<entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>btype</entry>\r
+ <entry>last_payment_note</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry><para>\r
\r
\r
- DEFAULT 'misc'::text;\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>last_payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.biblio_record_entry_bucket_item via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.biblio-record-entry-bucket-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.biblio-record-entry-bucket-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.biblio-record-entry-bucket-item" xreflabel="container.biblio_record_entry_bucket_item"> \r
- <title>biblio_record_entry_bucket_item</title>\r
+ <simplesect id="money.view.open-usr-circulation-summary" xreflabel="money.open_usr_circulation_summary"> \r
+ <title>open_usr_circulation_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bucket</entry>\r
+ <entry>usr</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="container.table.biblio-record-entry-bucket"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_biblio_record_entry</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pos</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>balance_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.biblio_record_entry_bucket_item_note via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.biblio-record-entry-bucket-item-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.biblio-record-entry-bucket-item-note" xreflabel="container.biblio_record_entry_bucket_item_note"> \r
- <title>biblio_record_entry_bucket_item_note</title>\r
+ <simplesect id="money.view.open-usr-summary" xreflabel="money.open_usr_summary"> \r
+ <title>open_usr_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>item</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="container.table.biblio-record-entry-bucket-item"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>balance_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.biblio-record-entry-bucket-note" xreflabel="container.biblio_record_entry_bucket_note"> \r
- <title>biblio_record_entry_bucket_note</title>\r
+ <simplesect id="money.table.payment" xreflabel="money.payment"> \r
+ <title>payment</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>bucket</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
- \r
- <xref linkend="container.table.biblio-record-entry-bucket"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.biblio-record-entry-bucket-type" xreflabel="container.biblio_record_entry_bucket_type"> \r
- <title>biblio_record_entry_bucket_type</title>\r
+ <simplesect id="money.view.payment-view" xreflabel="money.payment_view"> \r
+ <title>payment_view</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>label</entry>\r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.call-number-bucket" xreflabel="container.call_number_bucket"> \r
- <title>call_number_bucket</title>\r
+ <simplesect id="money.view.transaction-billing-summary" xreflabel="money.transaction_billing_summary"> \r
+ <title>transaction_billing_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
+ <entry>last_billing_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
- NOT NULL;\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_billing_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>last_billing_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="money.view.transaction-billing-type-summary" xreflabel="money.transaction_billing_type_summary"> \r
+ <title>transaction_billing_type_summary</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>btype</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
- NOT NULL;\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_billing_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- DEFAULT 'misc'::text;\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>last_billing_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
+ <entry>last_billing_ts</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.call_number_bucket_item via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.call-number-bucket-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.call-number-bucket-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.call-number-bucket-item" xreflabel="container.call_number_bucket_item"> \r
- <title>call_number_bucket_item</title>\r
+ <simplesect id="money.view.transaction-billing-with-void-summary" xreflabel="money.transaction_billing_with_void_summary"> \r
+ <title>transaction_billing_with_void_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>bucket</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry>last_billing_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="container.table.call-number-bucket"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_call_number</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry>last_billing_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="asset.table.call-number"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
+ <entry>last_billing_ts</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry><para>\r
\r
\r
- DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pos</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.call_number_bucket_item_note via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.call-number-bucket-item-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.call-number-bucket-item-note" xreflabel="container.call_number_bucket_item_note"> \r
- <title>call_number_bucket_item_note</title>\r
+ <simplesect id="money.view.transaction-payment-summary" xreflabel="money.transaction_payment_summary"> \r
+ <title>transaction_payment_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>item</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>last_payment_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="container.table.call-number-bucket-item"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.call-number-bucket-note" xreflabel="container.call_number_bucket_note"> \r
- <title>call_number_bucket_note</title>\r
+ <simplesect id="money.view.transaction-payment-with-void-summary" xreflabel="money.transaction_payment_with_void_summary"> \r
+ <title>transaction_payment_with_void_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>bucket</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>last_payment_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="container.table.call-number-bucket"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.call-number-bucket-type" xreflabel="container.call_number_bucket_type"> \r
- <title>call_number_bucket_type</title>\r
+ <simplesect id="money.view.usr-circulation-summary" xreflabel="money.usr_circulation_summary"> \r
+ <title>usr_circulation_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>balance_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.copy-bucket" xreflabel="container.copy_bucket"> \r
- <title>copy_bucket</title>\r
+ <simplesect id="money.view.usr-summary" xreflabel="money.usr_summary"> \r
+ <title>usr_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owner</entry>\r
+ <entry>usr</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>btype</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
- DEFAULT 'misc'::text;\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>balance_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.copy_bucket_item via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.copy-bucket-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.copy-bucket-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.copy-bucket-item" xreflabel="container.copy_bucket_item"> \r
- <title>copy_bucket_item</title>\r
+ <simplesect id="money.table.work-payment" xreflabel="money.work_payment"> \r
+ <title>work_payment</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
+ DEFAULT nextval('money.payment_id_seq'::regclass);\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>bucket</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- <xref linkend="container.table.copy-bucket"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_copy</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>payment_ts</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
- \r
- <xref linkend="asset.table.copy"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>voided</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pos</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.copy_bucket_item_note via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.copy-bucket-item-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.copy-bucket-item-note" xreflabel="container.copy_bucket_item_note"> \r
- <title>copy_bucket_item_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>item</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>amount_collected</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- <xref linkend="container.table.copy-bucket-item"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>accepting_usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.copy-bucket-note" xreflabel="container.copy_bucket_note"> \r
- <title>copy_bucket_note</title>\r
+ </section>\r
+ \r
+ <section id="offline.schema">\r
+ <title>Schema offline</title>\r
+ \r
+ <simplesect id="offline.table.script" xreflabel="offline.script"> \r
+ <title>script</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>bucket</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>session</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>requestor</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
NOT NULL;\r
\r
\r
\r
- \r
- <xref linkend="container.table.copy-bucket"/>\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_time</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
+ <entry>workstation</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.copy-bucket-type" xreflabel="container.copy_bucket_type"> \r
- <title>copy_bucket_type</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>code</entry>\r
+ <entry>logfile</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>time_delta</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE;\r
- \r
+ <entry>count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.user-bucket" xreflabel="container.user_bucket"> \r
- <title>user_bucket</title>\r
+ <simplesect id="offline.table.session" xreflabel="offline.session"> \r
+ <title>session</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>key</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
+ <entry>org</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- \r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
+ <entry>description</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>btype</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>create_time</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ NOT NULL;\r
\r
\r
- NOT NULL;\r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>in_process</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT 'misc'::text;\r
+ NOT NULL;\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pub</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>start_time</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT false;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>end_time</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>num_complete</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.user_bucket_item via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.user-bucket-item"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="container.table.user-bucket-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.user-bucket-item" xreflabel="container.user_bucket_item"> \r
- <title>user_bucket_item</title>\r
+ </section>\r
+ \r
+ <section id="permission.schema">\r
+ <title>Schema permission</title>\r
+ \r
+ <simplesect id="permission.table.grp-penalty-threshold" xreflabel="permission.grp_penalty_threshold"> \r
+ <title>grp_penalty_threshold</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>bucket</entry>\r
+ <entry>grp</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="container.table.user-bucket"/>\r
+ <xref linkend="permission.table.grp-tree"/>\r
+ \r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_user</entry>\r
+ <entry>org_unit</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>penalty</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
\r
+ \r
+ <xref linkend="config.table.standing-penalty"/>\r
+ \r
+ \r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pos</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>threshold</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing container.user_bucket_item_note via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="container.table.user-bucket-item-note"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.user-bucket-item-note" xreflabel="container.user_bucket_item_note"> \r
- <title>user_bucket_item_note</title>\r
+ <simplesect id="permission.table.grp-perm-map" xreflabel="permission.grp_perm_map"> \r
+ <title>grp_perm_map</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>item</entry>\r
+ <entry>grp</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="container.table.user-bucket-item"/>\r
+ <xref linkend="permission.table.grp-tree"/>\r
+ \r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>perm</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="container.table.user-bucket-note" xreflabel="container.user_bucket_note"> \r
- <title>user_bucket_note</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
- <row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
\r
- PRIMARY KEY\r
- \r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
+ \r
+ <xref linkend="permission.table.perm-list"/>\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>bucket</entry>\r
+ <entry>depth</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- <xref linkend="container.table.user-bucket"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>grantable</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="container.table.user-bucket-type" xreflabel="container.user_bucket_type"> \r
- <title>user_bucket_type</title>\r
+ <simplesect id="permission.table.grp-tree" xreflabel="permission.grp_tree"> \r
+ <title>grp_tree</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>label</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="extend-reporter.schema">\r
- <title>Schema extend_reporter</title>\r
- \r
- <simplesect id="extend-reporter.view.full-circ-count" xreflabel="extend_reporter.full_circ_count"> \r
- <title>full_circ_count</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>parent</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_count</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="permission.table.grp-tree"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="extend-reporter.view.global-bibs-by-holding-update" xreflabel="extend_reporter.global_bibs_by_holding_update"> \r
- <title>global_bibs_by_holding_update</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
+ <entry>usergroup</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holding_update</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>update_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>perm_interval</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '3 years'::interval;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="extend-reporter.table.legacy-circ-count" xreflabel="extend_reporter.legacy_circ_count"> \r
- <title>legacy_circ_count</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="asset.table.copy"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_count</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>application_perm</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing actor.usr via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="actor.table.usr"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.grp-penalty-threshold"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.grp-perm-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.grp-tree"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.usr-grp-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- </section>\r
- \r
- <section id="metabib.schema">\r
- <title>Schema metabib</title>\r
- \r
- <simplesect id="metabib.table.author-field-entry" xreflabel="metabib.author_field_entry"> \r
- <title>author_field_entry</title>\r
+ <simplesect id="permission.table.perm-list" xreflabel="permission.perm_list"> \r
+ <title>perm_list</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
+ UNIQUE;\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
\r
NOT NULL;\r
\r
\r
\r
\r
- <xref linkend="config.table.metabib-field"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
+ <entry>description</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>index_vector</entry>\r
- <entry>public.tsvector</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing config.org_unit_setting_type via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="config.table.org-unit-setting-type"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.grp-perm-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.usr-object-perm-map"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="permission.table.usr-perm-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="metabib.view.full-rec" xreflabel="metabib.full_rec"> \r
- <title>full_rec</title>\r
+ <simplesect id="permission.table.usr-grp-map" xreflabel="permission.usr_grp_map"> \r
+ <title>usr_grp_map</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>tag</entry>\r
- <entry>character(3)</entry>\r
- <entry>\r
- \r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ind1</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
+ NOT NULL;\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ind2</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>subfield</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>grp</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
+ NOT NULL;\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>index_vector</entry>\r
- <entry>public.tsvector</entry>\r
- <entry>\r
\r
\r
+ \r
+ <xref linkend="permission.table.grp-tree"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="metabib.table.keyword-field-entry" xreflabel="metabib.keyword_field_entry"> \r
- <title>keyword_field_entry</title>\r
+ <simplesect id="permission.table.usr-object-perm-map" xreflabel="permission.usr_object_perm_map"> \r
+ <title>usr_object_perm_map</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
\r
\r
\r
\r
- <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>field</entry>\r
+ <entry>perm</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
\r
\r
\r
\r
- <xref linkend="config.table.metabib-field"/>\r
+ \r
+ \r
+ <xref linkend="permission.table.perm-list"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
+ <entry>object_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>index_vector</entry>\r
- <entry>public.tsvector</entry>\r
- <entry>\r
+ <entry>object_id</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>grantable</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="metabib.table.metarecord" xreflabel="metabib.metarecord"> \r
- <title>metarecord</title>\r
+ <simplesect id="permission.table.usr-perm-map" xreflabel="permission.usr_perm_map"> \r
+ <title>usr_perm_map</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fingerprint</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>master_record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>perm</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
- <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ <xref linkend="permission.table.perm-list"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>mods</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>depth</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>grantable</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing metabib.metarecord_source_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="metabib.table.metarecord-source-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="metabib.table.metarecord-source-map" xreflabel="metabib.metarecord_source_map"> \r
- <title>metarecord_source_map</title>\r
+ <simplesect id="permission.table.usr-work-ou-map" xreflabel="permission.usr_work_ou_map"> \r
+ <title>usr_work_ou_map</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>metarecord</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
\r
NOT NULL;\r
\r
\r
\r
\r
- <xref linkend="metabib.table.metarecord"/>\r
+ <xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>work_ou</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="biblio.table.record-entry"/>\r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="metabib.table.real-full-rec" xreflabel="metabib.real_full_rec"> \r
- <title>real_full_rec</title>\r
+ </section>\r
+ \r
+ <section id="public.schema">\r
+ <title>Schema public</title>\r
+ \r
+ </section>\r
+ \r
+ <section id="query.schema">\r
+ <title>Schema query</title>\r
+ \r
+ <simplesect id="query.table.bind-variable" xreflabel="query.bind_variable"> \r
+ <title>bind_variable</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('full_rec_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
- \r
- \r
\r
\r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>tag</entry>\r
- <entry>character(3)</entry>\r
- <entry>\r
+ <entry>type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>ind1</entry>\r
+ <entry>description</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry><para>\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ind2</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>subfield</entry>\r
+ <entry>default_value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
+ <entry>label</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>index_vector</entry>\r
- <entry>public.tsvector</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on bind_variable</title>\r
+ \r
+ <varlistentry>\r
+ <term>bind_variable_type</term>\r
+ <listitem><para>CHECK ((type = ANY (ARRAY['string'::text, 'number'::text, 'string_list'::text, 'number_list'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing query.expression via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.expression"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="metabib.table.rec-descriptor" xreflabel="metabib.rec_descriptor"> \r
- <title>rec_descriptor</title>\r
+ <simplesect id="query.table.case-branch" xreflabel="query.case_branch"> \r
+ <title>case_branch</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
+ NOT NULL;\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>item_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
+ \r
+ <xref linkend="query.table.expression"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>item_form</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>bib_level</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>control_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>condition</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>char_encoding</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="query.table.expression"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>enc_level</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>result</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>audience</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="query.table.expression"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="query.table.datatype" xreflabel="query.datatype"> \r
+ <title>datatype</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>lit_form</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>type_mat</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>cat_form</entry>\r
+ <entry>datatype_name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub_status</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>item_lang</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry>is_numeric</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>vr_format</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>date1</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
+ <entry>is_composite</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>date2</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on datatype</title>\r
+ \r
+ <varlistentry>\r
+ <term>qdt_comp_not_num</term>\r
+ <listitem><para>CHECK (((is_numeric IS FALSE) OR (is_composite IS FALSE)))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing query.expression via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.expression"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.function-param-def"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.function-sig"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.record-column"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.subfield"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="metabib.table.series-field-entry" xreflabel="metabib.series_field_entry"> \r
- <title>series_field_entry</title>\r
+ <simplesect id="query.view.expr-xbet" xreflabel="query.expr_xbet"> \r
+ <title>expr_xbet</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>field</entry>\r
+ <entry>seq_no</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>left_operand</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>index_vector</entry>\r
- <entry>public.tsvector</entry>\r
- <entry>\r
- \r
+ <entry>negate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="metabib.table.subject-field-entry" xreflabel="metabib.subject_field_entry"> \r
- <title>subject_field_entry</title>\r
+ <simplesect id="query.view.expr-xbind" xreflabel="query.expr_xbind"> \r
+ <title>expr_xbind</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>field</entry>\r
+ <entry>parent_expr</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="config.table.metabib-field"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>index_vector</entry>\r
- <entry>public.tsvector</entry>\r
- <entry>\r
- \r
+ <entry>bind_variable</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="metabib.table.title-field-entry" xreflabel="metabib.title_field_entry"> \r
- <title>title_field_entry</title>\r
+ <simplesect id="query.view.expr-xbool" xreflabel="query.expr_xbool"> \r
+ <title>expr_xbool</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>field</entry>\r
+ <entry>parent_expr</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="config.table.metabib-field"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>value</entry>\r
+ <entry>literal</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>index_vector</entry>\r
- <entry>public.tsvector</entry>\r
- <entry>\r
- \r
+ <entry>negate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- </section>\r
- \r
- <section id="money.schema">\r
- <title>Schema money</title>\r
- \r
- <simplesect id="money.table.billable-xact" xreflabel="money.billable_xact"> \r
- <title>billable_xact</title>\r
+ <simplesect id="query.view.expr-xcase" xreflabel="query.expr_xcase"> \r
+ <title>expr_xcase</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>left_operand</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>unrecovered</entry>\r
+ <entry>negate</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.billable-xact-summary" xreflabel="money.billable_xact_summary"> \r
- <title>billable_xact_summary</title>\r
+ <simplesect id="query.view.expr-xcast" xreflabel="query.expr_xcast"> \r
+ <title>expr_xcast</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>left_operand</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>cast_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>negate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="query.view.expr-xcol" xreflabel="query.expr_xcol"> \r
+ <title>expr_xcol</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_type</entry>\r
+ <entry>table_alias</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>column_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ <entry>negate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.billable-xact-with-void-summary" xreflabel="money.billable_xact_with_void_summary"> \r
- <title>billable_xact_with_void_summary</title>\r
+ <simplesect id="query.view.expr-xex" xreflabel="query.expr_xex"> \r
+ <title>expr_xex</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>subquery</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>negate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="query.view.expr-xfunc" xreflabel="query.expr_xfunc"> \r
+ <title>expr_xfunc</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_type</entry>\r
+ <entry>column_name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>function_id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ <entry>negate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.table.billing" xreflabel="money.billing"> \r
- <title>billing</title>\r
+ <simplesect id="query.view.expr-xin" xreflabel="query.expr_xin"> \r
+ <title>expr_xin</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
+ <entry>parenthesize</entry>\r
<entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voider</entry>\r
+ <entry>parent_expr</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>void_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>billing_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>left_operand</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>subquery</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>btype</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry>negate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="config.table.billing-type"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.table.bnm-desk-payment" xreflabel="money.bnm_desk_payment"> \r
- <title>bnm_desk_payment</title>\r
+ <simplesect id="query.view.expr-xisnull" xreflabel="query.expr_xisnull"> \r
+ <title>expr_xisnull</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
- DEFAULT nextval('payment_id_seq'::regclass);\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>left_operand</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
+ <entry>negate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="query.view.expr-xnull" xreflabel="query.expr_xnull"> \r
+ <title>expr_xnull</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>accepting_usr</entry>\r
+ <entry>parent_expr</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>cash_drawer</entry>\r
+ <entry>seq_no</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>negate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="actor.table.workstation"/>\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.table.bnm-payment" xreflabel="money.bnm_payment"> \r
- <title>bnm_payment</title>\r
+ <simplesect id="query.view.expr-xnum" xreflabel="query.expr_xnum"> \r
+ <title>expr_xnum</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('payment_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
+ <entry>parenthesize</entry>\r
<entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <row>\r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>literal</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.bnm-payment-view" xreflabel="money.bnm_payment_view"> \r
- <title>bnm_payment_view</title>\r
+ <simplesect id="query.view.expr-xop" xreflabel="query.expr_xop"> \r
+ <title>expr_xop</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>left_operand</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
+ <entry>operator</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>accepting_usr</entry>\r
+ <entry>right_operand</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>payment_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ <entry>negate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.table.cash-payment" xreflabel="money.cash_payment"> \r
- <title>cash_payment</title>\r
+ <simplesect id="query.view.expr-xser" xreflabel="query.expr_xser"> \r
+ <title>expr_xser</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
- DEFAULT nextval('payment_id_seq'::regclass);\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>operator</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
+ <entry>negate</entry>\r
<entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="query.view.expr-xstr" xreflabel="query.expr_xstr"> \r
+ <title>expr_xstr</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>accepting_usr</entry>\r
+ <entry>seq_no</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>cash_drawer</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>literal</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.cashdrawer-payment-view" xreflabel="money.cashdrawer_payment_view"> \r
- <title>cashdrawer_payment_view</title>\r
+ <simplesect id="query.view.expr-xsubq" xreflabel="query.expr_xsubq"> \r
+ <title>expr_xsubq</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>org_unit</entry>\r
+ <entry>id</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>cashdrawer</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>payment_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>subquery</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
+ <entry>negate</entry>\r
<entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.table.check-payment" xreflabel="money.check_payment"> \r
- <title>check_payment</title>\r
+ <simplesect id="query.table.expression" xreflabel="query.expression"> \r
+ <title>expression</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('payment_id_seq'::regclass);\r
- \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>parenthesize</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>parent_expr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
+ <xref linkend="query.table.expression"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT 1;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
+ <entry>literal</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
+ <entry>table_alias</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>column_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>cash_drawer</entry>\r
+ <entry>left_operand</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ <xref linkend="query.table.expression"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>check_number</entry>\r
+ <entry>operator</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.collections-tracker" xreflabel="money.collections_tracker"> \r
- <title>collections_tracker</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>right_operand</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
\r
\r
\r
\r
\r
\r
+ <xref linkend="query.table.expression"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>function_id</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
+ <xref linkend="query.table.function-sig"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>collector</entry>\r
+ <entry>subquery</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
+ <xref linkend="query.table.stored-query"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>location</entry>\r
+ <entry>cast_type</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="actor.table.org-unit"/>\r
+ <xref linkend="query.table.datatype"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>enter_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>negate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>bind_variable</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="query.table.bind-variable"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on expression</title>\r
+ \r
+ <varlistentry>\r
+ <term>expression_type</term>\r
+ <listitem><para>CHECK ((type = ANY (ARRAY['xbet'::text, 'xbind'::text, 'xbool'::text, 'xcase'::text, 'xcast'::text, 'xcol'::text, 'xex'::text, 'xfunc'::text, 'xin'::text, 'xisnull'::text, 'xnull'::text, 'xnum'::text, 'xop'::text, 'xser'::text, 'xstr'::text, 'xsubq'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing query.case_branch via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.case-branch"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.expression"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.from-relation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.order-by-item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.select-item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.stored-query"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.table.credit-card-payment" xreflabel="money.credit_card_payment"> \r
- <title>credit_card_payment</title>\r
+ <simplesect id="query.table.from-relation" xreflabel="query.from_relation"> \r
+ <title>from_relation</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('payment_id_seq'::regclass);\r
- \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>table_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>class_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>subquery</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="query.table.stored-query"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>function_call</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ <xref linkend="query.table.expression"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
+ <entry>table_alias</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>parent_relation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
+ <xref linkend="query.table.from-relation"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>accepting_usr</entry>\r
+ <entry>seq_no</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT 1;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>cash_drawer</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>join_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>cc_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>on_clause</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="query.table.expression"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on from_relation</title>\r
+ \r
+ <varlistentry>\r
+ <term>good_join_type</term>\r
+ <listitem><para>CHECK (((join_type IS NULL) OR (join_type = ANY (ARRAY['INNER'::text, 'LEFT'::text, 'RIGHT'::text, 'FULL'::text]))))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ \r
+ \r
+ <varlistentry>\r
+ <term>join_or_core</term>\r
+ <listitem><para>CHECK (((((parent_relation IS NULL) AND (join_type IS NULL)) AND (on_clause IS NULL)) OR (((parent_relation IS NOT NULL) AND (join_type IS NOT NULL)) AND (on_clause IS NOT NULL))))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ \r
+ \r
+ <varlistentry>\r
+ <term>relation_type</term>\r
+ <listitem><para>CHECK ((type = ANY (ARRAY['RELATION'::text, 'SUBQUERY'::text, 'FUNCTION'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing query.from_relation via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.from-relation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.record-column"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.stored-query"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="query.table.function-param-def" xreflabel="query.function_param_def"> \r
+ <title>function_param_def</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>cc_number</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>expire_month</entry>\r
+ <entry>function_id</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
- </entry>\r
+ \r
+ \r
+ <xref linkend="query.table.function-sig"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>expire_year</entry>\r
+ <entry>seq_no</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>approval_code</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>datatype</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="query.table.datatype"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on function_param_def</title>\r
+ \r
+ <varlistentry>\r
+ <term>qfpd_pos_seq_no</term>\r
+ <listitem><para>CHECK ((seq_no > 0))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.table.credit-payment" xreflabel="money.credit_payment"> \r
- <title>credit_payment</title>\r
+ <simplesect id="query.table.function-sig" xreflabel="query.function_sig"> \r
+ <title>function_sig</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
- \r
- \r
- DEFAULT nextval('payment_id_seq'::regclass);\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT now();\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>function_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>return_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="query.table.datatype"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>is_aggregate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on function_sig</title>\r
+ \r
+ <varlistentry>\r
+ <term>qfd_rtn_or_aggr</term>\r
+ <listitem><para>CHECK (((return_type IS NULL) OR (is_aggregate = false)))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing query.expression via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.expression"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.function-param-def"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.desk-payment-view" xreflabel="money.desk_payment_view"> \r
- <title>desk_payment_view</title>\r
+ <simplesect id="query.table.order-by-item" xreflabel="query.order_by_item"> \r
+ <title>order_by_item</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
+ <entry>stored_query</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
+ NOT NULL;\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
+ \r
+ <xref linkend="query.table.stored-query"/>\r
+ \r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>cash_drawer</entry>\r
+ <entry>expression</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="query.table.expression"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.table.forgive-payment" xreflabel="money.forgive_payment"> \r
- <title>forgive_payment</title>\r
+ <simplesect id="query.table.query-sequence" xreflabel="query.query_sequence"> \r
+ <title>query_sequence</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('payment_id_seq'::regclass);\r
- \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>parent_query</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
\r
- DEFAULT false;\r
+ \r
\r
+ \r
+ <xref linkend="query.table.stored-query"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>child_query</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="query.table.stored-query"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.table.goods-payment" xreflabel="money.goods_payment"> \r
- <title>goods_payment</title>\r
+ <simplesect id="query.table.record-column" xreflabel="query.record_column"> \r
+ <title>record_column</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('payment_id_seq'::regclass);\r
- \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>from_relation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
\r
- DEFAULT false;\r
+ \r
\r
+ \r
+ <xref linkend="query.table.from-relation"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
- \r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>column_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>accepting_usr</entry>\r
+ <entry>column_type</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="query.table.datatype"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.table.grocery" xreflabel="money.grocery"> \r
- <title>grocery</title>\r
+ <simplesect id="query.table.select-item" xreflabel="query.select_item"> \r
+ <title>select_item</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('billable_xact_id_seq'::regclass);\r
- \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>stored_query</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="query.table.stored-query"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>expression</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="query.table.expression"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>billing_location</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>column_alias</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>grouped_by</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.table.materialized-billable-xact-summary" xreflabel="money.materialized_billable_xact_summary"> \r
- <title>materialized_billable_xact_summary</title>\r
+ <simplesect id="query.table.stored-query" xreflabel="query.stored_query"> \r
+ <title>stored_query</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>use_all</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>use_distinct</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>from_clause</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_payment_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="query.table.from-relation"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
- \r
+ <entry>where_clause</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="query.table.expression"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>having_clause</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="query.table.expression"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>limit_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="query.table.expression"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ <entry>offset_count</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ <xref linkend="query.table.expression"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on stored_query</title>\r
+ \r
+ <varlistentry>\r
+ <term>query_type</term>\r
+ <listitem><para>CHECK ((type = ANY (ARRAY['SELECT'::text, 'UNION'::text, 'INTERSECT'::text, 'EXCEPT'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing action.fieldset via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="action.table.fieldset"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.expression"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.from-relation"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.order-by-item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.query-sequence"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="query.table.select-item"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.non-drawer-payment-view" xreflabel="money.non_drawer_payment_view"> \r
- <title>non_drawer_payment_view</title>\r
+ <simplesect id="query.table.subfield" xreflabel="query.subfield"> \r
+ <title>subfield</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry>composite_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ \r
\r
\r
\r
+ NOT NULL;\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
\r
\r
+ \r
\r
+ \r
+ <xref linkend="query.table.datatype"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>seq_no</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>accepting_usr</entry>\r
+ <entry>subfield_type</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>payment_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="query.table.datatype"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on subfield</title>\r
+ \r
+ <varlistentry>\r
+ <term>qsf_pos_seq_no</term>\r
+ <listitem><para>CHECK ((seq_no > 0))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.open-billable-xact-summary" xreflabel="money.open_billable_xact_summary"> \r
- <title>open_billable_xact_summary</title>\r
+ </section>\r
+ \r
+ <section id="reporter.schema">\r
+ <title>Schema reporter</title>\r
+ \r
+ <simplesect id="reporter.view.circ-type" xreflabel="reporter.circ_type"> \r
+ <title>circ_type</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- <row>\r
- <entry>billing_location</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="reporter.view.currently-running" xreflabel="reporter.currently_running"> \r
+ <title>currently_running</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
\r
<row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>runner_barcode</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_ts</entry>\r
+ <entry>run_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>scheduled_wait_time</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- <row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="reporter.view.demographic" xreflabel="reporter.demographic"> \r
+ <title>demographic</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
\r
<row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_ts</entry>\r
+ <entry>dob</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_type</entry>\r
+ <entry>general_division</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.open-transaction-billing-summary" xreflabel="money.open_transaction_billing_summary"> \r
- <title>open_transaction_billing_summary</title>\r
+ <simplesect id="reporter.view.hold-request-record" xreflabel="reporter.hold_request_record"> \r
+ <title>hold_request_record</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>target</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_note</entry>\r
+ <entry>hold_type</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>bib_record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.open-transaction-billing-type-summary" xreflabel="money.open_transaction_billing_type_summary"> \r
- <title>open_transaction_billing_type_summary</title>\r
+ <simplesect id="reporter.table.materialized-simple-record" xreflabel="reporter.materialized_simple_record"> \r
+ <title>materialized_simple_record</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>xact</entry>\r
+ <entry>id</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_type</entry>\r
+ <entry>fingerprint</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>quality</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>tcn_source</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>tcn_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.open-transaction-payment-summary" xreflabel="money.open_transaction_payment_summary"> \r
- <title>open_transaction_payment_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>author</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ <entry>publisher</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_note</entry>\r
+ <entry>pubdate</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>isbn</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>issn</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.open-usr-circulation-summary" xreflabel="money.open_usr_circulation_summary"> \r
- <title>open_usr_circulation_summary</title>\r
+ <simplesect id="reporter.view.old-super-simple-record" xreflabel="reporter.old_super_simple_record"> \r
+ <title>old_super_simple_record</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fingerprint</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>quality</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>tcn_source</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>tcn_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.open-usr-summary" xreflabel="money.open_usr_summary"> \r
- <title>open_usr_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>author</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>publisher</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>pubdate</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>isbn</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>issn</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.table.payment" xreflabel="money.payment"> \r
- <title>payment</title>\r
+ <simplesect id="reporter.table.output-folder" xreflabel="reporter.output_folder"> \r
+ <title>output_folder</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigserial</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>parent</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="reporter.table.output-folder"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>payment_ts</entry>\r
+ <entry>create_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>shared</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>share_with</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing reporter.output_folder via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.output-folder"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.schedule"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.payment-view" xreflabel="money.payment_view"> \r
- <title>payment_view</title>\r
+ <simplesect id="reporter.view.overdue-circs" xreflabel="reporter.overdue_circs"> \r
+ <title>overdue_circs</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>payment_ts</entry>\r
+ <entry>xact_start</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
+ <entry>xact_finish</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>unrecovered</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>target_copy</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>payment_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ <entry>circ_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.transaction-billing-summary" xreflabel="money.transaction_billing_summary"> \r
- <title>transaction_billing_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>checkin_staff</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>checkin_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>renewal_remaining</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>due_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>stop_fines_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_ts</entry>\r
+ <entry>checkin_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.transaction-billing-type-summary" xreflabel="money.transaction_billing_type_summary"> \r
- <title>transaction_billing_type_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>duration</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>fine_interval</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>recurring_fine</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>max_fine</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>phone_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.transaction-billing-with-void-summary" xreflabel="money.transaction_billing_with_void_summary"> \r
- <title>transaction_billing_with_void_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>desk_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>opac_renewal</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_note</entry>\r
+ <entry>duration_rule</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_billing_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>recurring_fine_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>max_fine_rule</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.view.transaction-payment-summary" xreflabel="money.transaction_payment_summary"> \r
- <title>transaction_payment_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>stop_fines</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ <entry>workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>checkin_workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_ts</entry>\r
+ <entry>checkin_scan_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>parent_circ</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.transaction-payment-with-void-summary" xreflabel="money.transaction_payment_with_void_summary"> \r
- <title>transaction_payment_with_void_summary</title>\r
+ <simplesect id="reporter.view.overdue-reports" xreflabel="reporter.overdue_reports"> \r
+ <title>overdue_reports</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_type</entry>\r
- <entry>name</entry>\r
- <entry>\r
+ <entry>runner_barcode</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_note</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_payment_ts</entry>\r
+ <entry>run_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>scheduled_wait_time</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.usr-circulation-summary" xreflabel="money.usr_circulation_summary"> \r
- <title>usr_circulation_summary</title>\r
+ <simplesect id="reporter.view.pending-reports" xreflabel="reporter.pending_reports"> \r
+ <title>pending_reports</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>id</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>runner_barcode</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>run_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>scheduled_wait_time</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="money.view.usr-summary" xreflabel="money.usr_summary"> \r
- <title>usr_summary</title>\r
+ <simplesect id="reporter.table.report" xreflabel="reporter.report"> \r
+ <title>report</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>total_paid</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>balance_owed</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="money.table.work-payment" xreflabel="money.work_payment"> \r
- <title>work_payment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- DEFAULT nextval('payment_id_seq'::regclass);\r
\r
+ DEFAULT now();\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT ''::text;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>payment_ts</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ DEFAULT ''::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>template</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
+ <xref linkend="reporter.table.template"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>data</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>note</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>folder</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="reporter.table.report-folder"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>amount_collected</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>recur</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>accepting_usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>recurrence</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing reporter.schedule via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.schedule"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- </section>\r
- \r
- <section id="offline.schema">\r
- <title>Schema offline</title>\r
- \r
- <simplesect id="offline.table.script" xreflabel="offline.script"> \r
- <title>script</title>\r
+ <simplesect id="reporter.table.report-folder" xreflabel="reporter.report_folder"> \r
+ <title>report_folder</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>session</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>parent</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
+ <xref linkend="reporter.table.report-folder"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>requestor</entry>\r
+ <entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>create_time</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>workstation</entry>\r
+ <entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>logfile</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>shared</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>time_delta</entry>\r
+ <entry>share_with</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>count</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
- NOT NULL;\r
\r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing reporter.report via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.report"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.report-folder"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="offline.table.session" xreflabel="offline.session"> \r
- <title>session</title>\r
+ <simplesect id="reporter.table.schedule" xreflabel="reporter.schedule"> \r
+ <title>schedule</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>key</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org</entry>\r
+ <entry>report</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="reporter.table.report"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
+ <entry>folder</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="reporter.table.output-folder"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
+ <entry>runner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>in_process</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>run_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT now();\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>start_time</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>end_time</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>complete_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>num_complete</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>email</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="permission.schema">\r
- <title>Schema permission</title>\r
- \r
- <simplesect id="permission.table.grp-penalty-threshold" xreflabel="permission.grp_penalty_threshold"> \r
- <title>grp_penalty_threshold</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
+ <entry>excel_format</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT true;\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>grp</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>html_format</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
- \r
\r
+ DEFAULT true;\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>csv_format</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT true;\r
\r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
- \r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>org_unit</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>chart_pie</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
- \r
\r
+ NOT NULL;\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ DEFAULT false;\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>chart_bar</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- \r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>penalty</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>chart_line</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- \r
+ NOT NULL;\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
+ DEFAULT false;\r
\r
- NOT NULL;\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>error_code</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="config.table.standing-penalty"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>threshold</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry>\r
- \r
+ <entry>error_text</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="permission.table.grp-perm-map" xreflabel="permission.grp_perm_map"> \r
- <title>grp_perm_map</title>\r
+ <simplesect id="reporter.view.simple-record" xreflabel="reporter.simple_record"> \r
+ <title>simple_record</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>metarecord</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>grp</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>fingerprint</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>quality</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- NOT NULL;\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>tcn_source</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>perm</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>tcn_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>uniform_title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
- \r
- <xref linkend="permission.table.perm-list"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>depth</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>author</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>grantable</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>publisher</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="permission.table.grp-tree" xreflabel="permission.grp_tree"> \r
- <title>grp_tree</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>pubdate</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>series_title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
+ <entry>series_statement</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>summary</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>parent</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>isbn</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>issn</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usergroup</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>topic_subject</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT true;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>geographic_subject</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>perm_interval</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>genre</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT '3 years'::interval;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name_subject</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>corporate_subject</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>application_perm</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>external_uri</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing actor.usr via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="actor.table.usr"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.circ-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="config.table.hold-matrix-matchpoint"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.grp-penalty-threshold"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.grp-perm-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.grp-tree"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.usr-grp-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="permission.table.perm-list" xreflabel="permission.perm_list"> \r
- <title>perm_list</title>\r
+ <simplesect id="reporter.view.super-simple-record" xreflabel="reporter.super_simple_record"> \r
+ <title>super_simple_record</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>code</entry>\r
+ <entry>fingerprint</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE;\r
- \r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>quality</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
+ <entry>tcn_source</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing permission.grp_perm_map via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.grp-perm-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.usr-object-perm-map"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="permission.table.usr-perm-map"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="permission.table.usr-grp-map" xreflabel="permission.usr_grp_map"> \r
- <title>usr_grp_map</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>tcn_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>author</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>publisher</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>grp</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>pubdate</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>isbn</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- NOT NULL;\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>issn</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="permission.table.grp-tree"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="permission.table.usr-object-perm-map" xreflabel="permission.usr_object_perm_map"> \r
- <title>usr_object_perm_map</title>\r
+ <simplesect id="reporter.table.template" xreflabel="reporter.template"> \r
+ <title>template</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- \r
- \r
<xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>perm</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ NOT NULL;\r
\r
- \r
\r
+ DEFAULT now();\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- \r
\r
- \r
- <xref linkend="permission.table.perm-list"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>object_type</entry>\r
+ <entry>description</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>object_id</entry>\r
+ <entry>data</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>grantable</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>folder</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
+ <xref linkend="reporter.table.template-folder"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing reporter.report via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.report"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="permission.table.usr-perm-map" xreflabel="permission.usr_perm_map"> \r
- <title>usr_perm_map</title>\r
+ <simplesect id="reporter.table.template-folder" xreflabel="reporter.template_folder"> \r
+ <title>template_folder</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
+ <entry>parent</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
- UNIQUE#1\r
- ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="reporter.table.template-folder"/>\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
\r
\r
\r
\r
\r
\r
- \r
- \r
<xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>perm</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>create_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ NOT NULL;\r
\r
- \r
\r
+ DEFAULT now();\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- \r
\r
- \r
- <xref linkend="permission.table.perm-list"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>depth</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>shared</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>grantable</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>share_with</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing reporter.template via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.template"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="reporter.table.template-folder"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="permission.table.usr-work-ou-map" xreflabel="permission.usr_work_ou_map"> \r
- <title>usr_work_ou_map</title>\r
+ <simplesect id="reporter.view.xact-billing-totals" xreflabel="reporter.xact_billing_totals"> \r
+ <title>xact_billing_totals</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE#1\r
- ;\r
- \r
- \r
- \r
- NOT NULL;\r
- \r
+ <entry>unvoided</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>work_ou</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
+ <entry>voided</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
- UNIQUE#1\r
- ;\r
- \r
\r
\r
- NOT NULL;\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- </section> \r
- <section id="reporter.schema">\r
- <title>Schema reporter</title>\r
- \r
- <simplesect id="reporter.view.circ-type" xreflabel="reporter.circ_type"> \r
- <title>circ_type</title>\r
+ <simplesect id="reporter.view.xact-paid-totals" xreflabel="reporter.xact_paid_totals"> \r
+ <title>xact_paid_totals</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
+ <entry>xact</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>type</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>unvoided</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>voided</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="reporter.view.currently-running" xreflabel="reporter.currently_running"> \r
- <title>currently_running</title>\r
+ </section>\r
+ \r
+ <section id="search.schema">\r
+ <title>Schema search</title>\r
+ \r
+ <simplesect id="search.table.relevance-adjustment" xreflabel="search.relevance_adjustment"> \r
+ <title>relevance_adjustment</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>runner_barcode</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>field</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="config.table.metabib-field"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>run_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>bump_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>scheduled_wait_time</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>multiplier</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT 1.0;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on relevance_adjustment</title>\r
+ \r
+ <varlistentry>\r
+ <term>relevance_adjustment_bump_type_check</term>\r
+ <listitem><para>CHECK ((bump_type = ANY (ARRAY['word_order'::text, 'first_word'::text, 'full_match'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="reporter.view.demographic" xreflabel="reporter.demographic"> \r
- <title>demographic</title>\r
+ </section>\r
+ \r
+ <section id="serial.schema">\r
+ <title>Schema serial</title>\r
+ \r
+ <simplesect id="serial.table.basic-summary" xreflabel="serial.basic_summary"> \r
+ <title>basic_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>distribution</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="serial.table.distribution"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>dob</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>generated_coverage</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>general_division</entry>\r
+ <entry>textual_holdings</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>show_generated</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="reporter.view.hold-request-record" xreflabel="reporter.hold_request_record"> \r
- <title>hold_request_record</title>\r
+ <simplesect id="serial.table.caption-and-pattern" xreflabel="serial.caption_and_pattern"> \r
+ <title>caption_and_pattern</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>subscription</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="serial.table.subscription"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>hold_type</entry>\r
+ <entry>type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>bib_record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.table.materialized-simple-record" xreflabel="reporter.materialized_simple_record"> \r
- <title>materialized_simple_record</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>start_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>end_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>active</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- \r
+ NOT NULL;\r
\r
- </entry>\r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fingerprint</entry>\r
+ <entry>pattern_code</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>enum_1</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>tcn_source</entry>\r
+ <entry>enum_2</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>tcn_value</entry>\r
+ <entry>enum_3</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>title</entry>\r
+ <entry>enum_4</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>author</entry>\r
+ <entry>enum_5</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>publisher</entry>\r
+ <entry>enum_6</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pubdate</entry>\r
+ <entry>chron_1</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>isbn</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
+ <entry>chron_2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>issn</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
+ <entry>chron_3</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>chron_4</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>chron_5</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on caption_and_pattern</title>\r
+ \r
+ <varlistentry>\r
+ <term>cap_type</term>\r
+ <listitem><para>CHECK ((type = ANY (ARRAY['basic'::text, 'supplement'::text, 'index'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing serial.issuance via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.issuance"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="reporter.view.old-super-simple-record" xreflabel="reporter.old_super_simple_record"> \r
- <title>old_super_simple_record</title>\r
+ <simplesect id="serial.table.distribution" xreflabel="serial.distribution"> \r
+ <title>distribution</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>record_entry</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="serial.table.record-entry"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fingerprint</entry>\r
+ <entry>summary_method</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>quality</entry>\r
+ <entry>subscription</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="serial.table.subscription"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>tcn_source</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>holding_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>tcn_value</entry>\r
+ <entry>label</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>receive_call_number</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ <xref linkend="asset.table.call-number"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>author</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>receive_unit_template</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
\r
\r
\r
+ \r
+ <xref linkend="asset.table.copy-template"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>publisher</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>bind_call_number</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="asset.table.call-number"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pubdate</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>bind_unit_template</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="asset.table.copy-template"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>isbn</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
+ <entry>unit_label_prefix</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>issn</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
+ <entry>unit_label_suffix</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on distribution</title>\r
+ \r
+ <varlistentry>\r
+ <term>sdist_summary_method_check</term>\r
+ <listitem><para>CHECK (((summary_method IS NULL) OR (summary_method = ANY (ARRAY['add_to_sre'::text, 'merge_with_sre'::text, 'use_sre_only'::text, 'use_sdist_only'::text]))))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing serial.basic_summary via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.basic-summary"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.distribution-note"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.index-summary"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.stream"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.supplement-summary"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="reporter.table.output-folder" xreflabel="reporter.output_folder"> \r
- <title>output_folder</title>\r
+ <simplesect id="serial.table.distribution-note" xreflabel="serial.distribution_note"> \r
+ <title>distribution_note</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>parent</entry>\r
+ <entry>distribution</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
- <xref linkend="reporter.table.output-folder"/>\r
+ <xref linkend="serial.table.distribution"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
+ <entry>create_date</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
- \r
\r
DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>pub</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>shared</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>share_with</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing reporter.output_folder via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.output-folder"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.schedule"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="reporter.view.overdue-circs" xreflabel="reporter.overdue_circs"> \r
- <title>overdue_circs</title>\r
+ <simplesect id="serial.table.index-summary" xreflabel="serial.index_summary"> \r
+ <title>index_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>usr</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>xact_start</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>distribution</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>xact_finish</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="serial.table.distribution"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>unrecovered</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>generated_coverage</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>textual_holdings</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>show_generated</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="serial.table.issuance" xreflabel="serial.issuance"> \r
+ <title>issuance</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>checkin_staff</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>renewal_remaining</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>due_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stop_fines_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>editor</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>checkin_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
+ <entry>create_date</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
\r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fine_interval</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry>subscription</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>max_fine</entry>\r
- <entry>numeric(6,2)</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="serial.table.subscription"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>phone_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>desk_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>date_published</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_renewal</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
+ <entry>caption_and_pattern</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>duration_rule</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
+ <xref linkend="serial.table.caption-and-pattern"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine_rule</entry>\r
+ <entry>holding_code</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>max_fine_rule</entry>\r
+ <entry>holding_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>stop_fines</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>holding_link_id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on issuance</title>\r
+ \r
+ <varlistentry>\r
+ <term>valid_holding_type</term>\r
+ <listitem><para>CHECK (((holding_type IS NULL) OR (holding_type = ANY (ARRAY['basic'::text, 'supplement'::text, 'index'::text]))))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing serial.item via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.item"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="reporter.view.overdue-reports" xreflabel="reporter.overdue_reports"> \r
- <title>overdue_reports</title>\r
+ <simplesect id="serial.table.item" xreflabel="serial.item"> \r
+ <title>item</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>runner_barcode</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>run_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>creator</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>scheduled_wait_time</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.pending-reports" xreflabel="reporter.pending_reports"> \r
- <title>pending_reports</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
+ <entry>editor</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>runner_barcode</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>run_time</entry>\r
+ <entry>create_date</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
\r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>scheduled_wait_time</entry>\r
- <entry>interval</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.table.report" xreflabel="reporter.report"> \r
- <title>report</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
+ <entry>issuance</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- <xref linkend="actor.table.usr"/>\r
+ <xref linkend="serial.table.issuance"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT now();\r
+ <entry>stream</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT ''::text;\r
\r
+ \r
+ <xref linkend="serial.table.stream"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT ''::text;\r
\r
+ \r
+ <xref linkend="serial.table.unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>template</entry>\r
+ <entry>uri</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="reporter.table.template"/>\r
+ <xref linkend="asset.table.uri"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>data</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>date_expected</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>folder</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>date_received</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>status</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="reporter.table.report-folder"/>\r
- \r
+ DEFAULT 'Expected'::text;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recur</entry>\r
+ <entry>shadowed</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT false;\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>recurance</entry>\r
- <entry>interval</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on item</title>\r
+ \r
+ <varlistentry>\r
+ <term>valid_status</term>\r
+ <listitem><para>CHECK ((status = ANY (ARRAY['Bindery'::text, 'Bound'::text, 'Claimed'::text, 'Discarded'::text, 'Expected'::text, 'Not Held'::text, 'Not Published'::text, 'Received'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
\r
<itemizedlist>\r
<title>\r
- Tables referencing reporter.schedule via Foreign Key Constraints\r
+ Tables referencing acq.serial_claim via Foreign Key Constraints\r
</title>\r
\r
<listitem>\r
- <para><xref linkend="reporter.table.schedule"/></para>\r
+ <para><xref linkend="acq.table.serial-claim"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.item-note"/></para>\r
</listitem>\r
\r
</itemizedlist>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="reporter.table.report-folder" xreflabel="reporter.report_folder"> \r
- <title>report_folder</title>\r
+ <simplesect id="serial.table.item-note" xreflabel="serial.item_note"> \r
+ <title>item_note</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>parent</entry>\r
+ <entry>item</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
\r
- <xref linkend="reporter.table.report-folder"/>\r
+ <xref linkend="serial.table.item"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
+ <entry>create_date</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
- \r
\r
DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>pub</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>shared</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>share_with</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing reporter.report via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.report"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.report-folder"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="reporter.table.schedule" xreflabel="reporter.schedule"> \r
- <title>schedule</title>\r
+ <simplesect id="serial.table.record-entry" xreflabel="serial.record_entry"> \r
+ <title>record_entry</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>report</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
\r
- <xref linkend="reporter.table.report"/>\r
+ <xref linkend="biblio.table.record-entry"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>folder</entry>\r
+ <entry>owning_lib</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT 1;\r
+ \r
\r
\r
- <xref linkend="reporter.table.output-folder"/>\r
+ <xref linkend="actor.table.org-unit"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>runner</entry>\r
+ <entry>creator</entry>\r
<entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT 1;\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>run_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>editor</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ DEFAULT 1;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>start_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>complete_time</entry>\r
+ <entry>create_date</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>email</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>excel_format</entry>\r
+ <entry>active</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>html_format</entry>\r
+ <entry>deleted</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT true;\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>csv_format</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>marc</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT true;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_xact_id</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing serial.distribution via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.distribution"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="serial.table.routing-list-user" xreflabel="serial.routing_list_user"> \r
+ <title>routing_list_user</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>chart_pie</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>chart_bar</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>stream</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
\r
+ \r
+ \r
+ \r
+ <xref linkend="serial.table.stream"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>chart_line</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>pos</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
+ DEFAULT 1;\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>error_code</entry>\r
+ <entry>reader</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>error_text</entry>\r
+ <entry>department</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on routing_list_user</title>\r
+ \r
+ <varlistentry>\r
+ <term>reader_or_dept</term>\r
+ <listitem><para>CHECK ((((reader IS NOT NULL) AND (department IS NULL)) OR ((reader IS NULL) AND (department IS NOT NULL))))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
\r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="reporter.view.simple-record" xreflabel="reporter.simple_record"> \r
- <title>simple_record</title>\r
+ <simplesect id="serial.table.stream" xreflabel="serial.stream"> \r
+ <title>stream</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>metarecord</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>fingerprint</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>distribution</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="serial.table.distribution"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>tcn_source</entry>\r
+ <entry>routing_label</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing serial.item via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.routing-list-user"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="serial.table.subscription" xreflabel="serial.subscription"> \r
+ <title>subscription</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>tcn_value</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>uniform_title</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>author</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT 1;\r
+ \r
\r
+ \r
+ <xref linkend="actor.table.org-unit"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>publisher</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>start_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pubdate</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>end_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>series_title</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>record_entry</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>series_statement</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>expected_date_offset</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing serial.caption_and_pattern via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.caption-and-pattern"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.distribution"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.issuance"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.subscription-note"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="serial.table.subscription-note" xreflabel="serial.subscription_note"> \r
+ <title>subscription_note</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>summary</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>id</entry>\r
+ <entry>serial</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
\r
\r
- </entry>\r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>isbn</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
+ <entry>subscription</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>issn</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="serial.table.subscription"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>topic_subject</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
+ <entry>creator</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>geographic_subject</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>genre</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name_subject</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
+ <entry>pub</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>corporate_subject</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
+ <entry>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>external_uri</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
\r
+ NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="reporter.view.super-simple-record" xreflabel="reporter.super_simple_record"> \r
- <title>super_simple_record</title>\r
+ <simplesect id="serial.table.supplement-summary" xreflabel="serial.supplement_summary"> \r
+ <title>supplement_summary</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>fingerprint</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>quality</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_source</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
+ <entry>serial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tcn_value</entry>\r
- <entry>text</entry>\r
- <entry>\r
\r
\r
\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>title</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>distribution</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
+ \r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>author</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
\r
+ \r
+ <xref linkend="serial.table.distribution"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>publisher</entry>\r
+ <entry>generated_coverage</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>pubdate</entry>\r
+ <entry>textual_holdings</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>isbn</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
- \r
- \r
+ <entry>show_generated</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>issn</entry>\r
- <entry>text[]</entry>\r
- <entry>\r
+ NOT NULL;\r
\r
\r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="reporter.table.template" xreflabel="reporter.template"> \r
- <title>template</title>\r
+ <simplesect id="serial.table.unit" xreflabel="serial.unit"> \r
+ <title>unit</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
\r
<row>\r
<entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
+ DEFAULT nextval('asset.copy_id_seq'::regclass);\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
+ <entry>circ_lib</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>creator</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="actor.table.usr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>call_number</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
\r
+ \r
+ <xref linkend="asset.table.call-number"/>\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>editor</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ \r
+ <xref linkend="actor.table.usr"/>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>description</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>create_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>data</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>edit_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
\r
+ DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>folder</entry>\r
+ <entry>copy_number</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>status</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
- \r
- <xref linkend="reporter.table.template-folder"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing reporter.report via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.report"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.table.template-folder" xreflabel="reporter.template_folder"> \r
- <title>template_folder</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
+ <entry>location</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT 1;\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>parent</entry>\r
+ <entry>loan_duration</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
+ NOT NULL;\r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fine_level</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
\r
- \r
- <xref linkend="reporter.table.template-folder"/>\r
- \r
\r
- </entry>\r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owner</entry>\r
+ <entry>age_protect</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circulate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
NOT NULL;\r
\r
\r
+ DEFAULT true;\r
\r
- \r
- <xref linkend="actor.table.usr"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>create_time</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>deposit</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT now();\r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>name</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>ref</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>shared</entry>\r
+ <entry>holdable</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT false;\r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>share_with</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>deposit_amount</entry>\r
+ <entry>numeric(6,2)</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT 0.00;\r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing reporter.template via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.template"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="reporter.table.template-folder"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.xact-billing-totals" xreflabel="reporter.xact_billing_totals"> \r
- <title>xact_billing_totals</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>price</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>unvoided</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>barcode</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>circ_modifier</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>circ_as_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="reporter.view.xact-paid-totals" xreflabel="reporter.xact_paid_totals"> \r
- <title>xact_paid_totals</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>dummy_title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>xact</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>dummy_author</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>unvoided</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>alert_message</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>voided</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>total</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>deleted</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- </section>\r
- \r
- <section id="search.schema">\r
- <title>Schema search</title>\r
- \r
- <simplesect id="search.table.relevance-adjustment" xreflabel="search.relevance_adjustment"> \r
- <title>relevance_adjustment</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
+ <row>\r
+ <entry>floating</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>dummy_isbn</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- \r
- PRIMARY KEY\r
- \r
\r
\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>status_changed_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>active</entry>\r
+ <entry>mint_condition</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT true;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>field</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>cost</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>sort_key</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="config.table.metabib-field"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>bump_type</entry>\r
+ <entry>detailed_contents</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>multiplier</entry>\r
- <entry>numeric</entry>\r
- <entry>\r
+ <entry>summary_contents</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 1.0;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
<variablelist>\r
- <title>Constraints on relevance_adjustment</title>\r
+ <title>Constraints on unit</title>\r
\r
<varlistentry>\r
- <term>relevance_adjustment_ bump _type_check</term>\r
- <listitem><para>CHECK ((bump_type = ANY (ARRAY['word_order'::text, 'first_word'::text, 'full_match'::text])))</para></listitem>\r
+ <term>copy_fine_level_check</term>\r
+ <listitem><para>CHECK ((fine_level = ANY (ARRAY[1, 2, 3])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ \r
+ \r
+ <varlistentry>\r
+ <term>copy_loan_duration_check</term>\r
+ <listitem><para>CHECK ((loan_duration = ANY (ARRAY[1, 2, 3])))</para></listitem>\r
</varlistentry>\r
\r
</variablelist>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing serial.item via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="serial.table.item"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
</section>\r
\r
- <section id="serial.schema">\r
- <title>Schema serial</title>\r
+ <section id="staging.schema">\r
+ <title>Schema staging</title>\r
\r
- <simplesect id="serial.table.bib-summary" xreflabel="serial.bib_summary"> \r
- <title>bib_summary</title>\r
+ <simplesect id="staging.table.billing-address-stage" xreflabel="staging.billing_address_stage"> \r
+ <title>billing_address_stage</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>row_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
+ DEFAULT nextval('staging.mailing_address_stage_row_id_seq'::regclass);\r
+ \r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>subscription</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>row_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
- \r
\r
\r
- \r
+ DEFAULT now();\r
\r
- UNIQUE;\r
- \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usrname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- \r
- <xref linkend="serial.table.subscription"/>\r
- \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>street1</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>generated_coverage</entry>\r
+ <entry>street2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>city</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT ''::text;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>textual_holdings</entry>\r
+ <entry>state</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'OK'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>country</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'US'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>post_code</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>complete</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="serial.table.binding-unit" xreflabel="serial.binding_unit"> \r
- <title>binding_unit</title>\r
+ <simplesect id="staging.table.card-stage" xreflabel="staging.card_stage"> \r
+ <title>card_stage</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>row_id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>subscription</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
+ <entry>row_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ DEFAULT now();\r
\r
\r
- NOT NULL;\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usrname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
- \r
- <xref linkend="serial.table.subscription"/>\r
- \r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>label</entry>\r
+ <entry>barcode</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
\r
- UNIQUE#1\r
- ;\r
- \r
+ NOT NULL;\r
\r
\r
- NOT NULL;\r
\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>complete</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
- \r
\r
- </entry>\r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing serial.issuance via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.issuance"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="serial.table.index-summary" xreflabel="serial.index_summary"> \r
- <title>index_summary</title>\r
+ <simplesect id="staging.table.mailing-address-stage" xreflabel="staging.mailing_address_stage"> \r
+ <title>mailing_address_stage</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
+ <entry>row_id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>subscription</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- \r
- \r
- UNIQUE;\r
- \r
- \r
- \r
- NOT NULL;\r
+ <entry>row_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="serial.table.subscription"/>\r
- \r
+ DEFAULT now();\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>generated_coverage</entry>\r
+ <entry>usrname</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>textual_holdings</entry>\r
+ <entry>street1</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.issuance" xreflabel="serial.issuance"> \r
- <title>issuance</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
- \r
+ <entry>street2</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>subscription</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>city</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
+ DEFAULT ''::text;\r
\r
- \r
- <xref linkend="serial.table.subscription"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>target_copy</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
+ <entry>state</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT 'OK'::text;\r
\r
- \r
- <xref linkend="asset.table.copy"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>location</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
+ <entry>country</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
+ DEFAULT 'US'::text;\r
\r
- \r
- <xref linkend="asset.table.copy-location"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>binding_unit</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>post_code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
+ NOT NULL;\r
\r
\r
- \r
- <xref linkend="serial.table.binding-unit"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>label</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>complete</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
</para>\r
</simplesect>\r
\r
- <simplesect id="serial.table.record-entry" xreflabel="serial.record_entry"> \r
- <title>record_entry</title>\r
+ <simplesect id="staging.table.statcat-stage" xreflabel="staging.statcat_stage"> \r
+ <title>statcat_stage</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<tbody>\r
\r
<row>\r
- <entry>id</entry>\r
+ <entry>row_id</entry>\r
<entry>bigserial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>row_date</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
\r
\r
\r
+ DEFAULT now();\r
\r
- \r
- <xref linkend="biblio.table.record-entry"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>usrname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 1;\r
- \r
\r
- \r
- <xref linkend="actor.table.org-unit"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>creator</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>statcat</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 1;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>editor</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT 1;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>source</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>complete</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="staging.table.user-stage" xreflabel="staging.user_stage"> \r
+ <title>user_stage</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
<row>\r
- <entry>create_date</entry>\r
- <entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry>row_id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
+ \r
+ PRIMARY KEY\r
+ \r
\r
- NOT NULL;\r
\r
\r
- DEFAULT now();\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>edit_date</entry>\r
+ <entry>row_date</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>active</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>usrname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
- DEFAULT true;\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>deleted</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
+ <entry>profile</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
- DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>marc</entry>\r
+ <entry>email</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>last_xact_id</entry>\r
+ <entry>passwd</entry>\r
<entry>text</entry>\r
- <entry>\r
- \r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.subscription" xreflabel="serial.subscription"> \r
- <title>subscription</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
+ <entry>ident_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
\r
\r
\r
+ DEFAULT 3;\r
\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>callnumber</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
+ <entry>first_given_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
- \r
- <xref linkend="asset.table.call-number"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>uri</entry>\r
- <entry>integer</entry>\r
- <entry>\r
- \r
- \r
- \r
+ <entry>second_given_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- \r
- <xref linkend="asset.table.uri"/>\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>start_date</entry>\r
- <entry>date</entry>\r
- <entry>\r
- \r
+ <entry>family_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
- NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>end_date</entry>\r
- <entry>date</entry>\r
- <entry>\r
+ <entry>day_phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
- </tbody>\r
- </tgroup>\r
- </informaltable>\r
- <para>\r
- \r
- \r
- \r
- <itemizedlist>\r
- <title>\r
- Tables referencing serial.bib_summary via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.bib-summary"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.binding-unit"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.index-summary"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.issuance"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="serial.table.sup-summary"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
- \r
- \r
- \r
- \r
- </para>\r
- </simplesect>\r
- \r
- <simplesect id="serial.table.sup-summary" xreflabel="serial.sup_summary"> \r
- <title>sup_summary</title>\r
- <informaltable>\r
- <tgroup cols="3">\r
- <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
- <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
- <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
- <thead>\r
- <row>\r
- <entry>Field</entry>\r
- <entry>Data Type</entry>\r
- <entry>Constraints and References</entry>\r
- </row>\r
- </thead>\r
- <tbody>\r
- \r
<row>\r
- <entry>id</entry>\r
- <entry>serial</entry>\r
- <entry>\r
- \r
- \r
- PRIMARY KEY\r
- \r
- \r
+ <entry>evening_phone</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>subscription</entry>\r
+ <entry>home_ou</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
- \r
- \r
- \r
- \r
\r
- UNIQUE;\r
- \r
\r
+ DEFAULT 2;\r
\r
- NOT NULL;\r
- \r
- \r
- \r
- \r
- <xref linkend="serial.table.subscription"/>\r
- \r
- \r
- \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>generated_coverage</entry>\r
+ <entry>dob</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
- NOT NULL;\r
- \r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>textual_holdings</entry>\r
- <entry>text</entry>\r
- <entry>\r
+ <entry>complete</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
\r
\r
\r
+ DEFAULT false;\r
+ \r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<row>\r
<entry>id</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>creator</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>create_date</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>editor</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>edit_date</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>record</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>owning_lib</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>label</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>deleted</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label_class</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>label_sortkey</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>create_date_day</entry>\r
<entry>date</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>edit_date_day</entry>\r
<entry>date</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>create_date_hour</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>edit_date_hour</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>item_lang</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>item_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>item_form</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<row>\r
<entry>id</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>usr</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>xact_start</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>xact_finish</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>unrecovered</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>target_copy</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>circ_lib</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>circ_staff</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>checkin_staff</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>checkin_lib</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>renewal_remaining</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>due_date</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>stop_fines_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>checkin_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>create_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>duration</entry>\r
<entry>interval</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>fine_interval</entry>\r
<entry>interval</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine</entry>\r
+ <entry>recurring_fine</entry>\r
<entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>max_fine</entry>\r
<entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>phone_renewal</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>desk_renewal</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>opac_renewal</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>duration_rule</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>recuring_fine_rule</entry>\r
+ <entry>recurring_fine_rule</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>max_fine_rule</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>stop_fines</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_workstation</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>checkin_scan_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>parent_circ</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>start_date_day</entry>\r
<entry>date</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>finish_date_day</entry>\r
<entry>date</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>start_date_hour</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>finish_date_hour</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>call_number_label</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>owning_lib</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>item_lang</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>item_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>item_form</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<row>\r
<entry>id</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>circ_lib</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>creator</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>call_number</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>editor</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>create_date</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>edit_date</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>copy_number</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>status</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>location</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>loan_duration</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>fine_level</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>age_protect</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>circulate</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>deposit</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>ref</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>holdable</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>deposit_amount</entry>\r
<entry>numeric(6,2)</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>price</entry>\r
<entry>numeric(8,2)</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>barcode</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>circ_modifier</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>circ_as_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>dummy_title</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>dummy_author</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>alert_message</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>opac_visible</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>deleted</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>floating</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dummy_isbn</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>status_changed_time</entry>\r
+ <entry>timestamp with time zone</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mint_condition</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cost</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>create_date_day</entry>\r
<entry>date</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>edit_date_day</entry>\r
<entry>date</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>create_date_hour</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>edit_date_hour</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>call_number_label</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>owning_lib</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>item_lang</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>item_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>item_form</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>code</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>description</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>xpath</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>remove</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT ''::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>ident</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<row>\r
<entry>id</entry>\r
<entry>bigserial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>matched_attr</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="vandelay.table.queued-authority-record-attr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>queued_record</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="vandelay.table.queued-authority-record"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>eg_record</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="authority.table.record-entry"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<row>\r
<entry>id</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('queue_id_seq'::regclass);\r
+ DEFAULT nextval('vandelay.queue_id_seq'::regclass);\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>complete</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>queue_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<title>Constraints on authority_queue</title>\r
\r
<varlistentry>\r
- <term>authority_queue_queue _type_check</term>\r
+ <term>authority_queue_queue_type_check</term>\r
<listitem><para>CHECK ((queue_type = 'authority'::text))</para></listitem>\r
</varlistentry>\r
\r
\r
\r
<varlistentry>\r
- <term>queue_queue_ type_check</term>\r
+ <term>queue_queue_type_check</term>\r
<listitem><para>CHECK ((queue_type = ANY (ARRAY['bib'::text, 'authority'::text])))</para></listitem>\r
</varlistentry>\r
\r
<row>\r
<entry>id</entry>\r
<entry>serial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>code</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>description</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>xpath</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>remove</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT ''::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>ident</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<row>\r
<entry>id</entry>\r
<entry>bigserial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>field_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>matched_attr</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="vandelay.table.queued-bib-record-attr"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>queued_record</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="vandelay.table.queued-bib-record"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>eg_record</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="biblio.table.record-entry"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<title>Constraints on bib_match</title>\r
\r
<varlistentry>\r
- <term>bib_match_field _type_check</term>\r
+ <term>bib_match_field_type_check</term>\r
<listitem><para>CHECK ((field_type = ANY (ARRAY['isbn'::text, 'tcn_value'::text, 'id'::text])))</para></listitem>\r
</varlistentry>\r
\r
<row>\r
<entry>id</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('queue_id_seq'::regclass);\r
+ DEFAULT nextval('vandelay.queue_id_seq'::regclass);\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>complete</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>queue_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>item_attr_def</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="vandelay.table.import-item-attr-definition"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<title>Constraints on bib_queue</title>\r
\r
<varlistentry>\r
- <term>bib_queue_queue _type_check</term>\r
+ <term>bib_queue_queue_type_check</term>\r
<listitem><para>CHECK ((queue_type = 'bib'::text))</para></listitem>\r
</varlistentry>\r
\r
\r
\r
<varlistentry>\r
- <term>queue_queue_ type_check</term>\r
+ <term>queue_queue_type_check</term>\r
<listitem><para>CHECK ((queue_type = ANY (ARRAY['bib'::text, 'authority'::text])))</para></listitem>\r
</varlistentry>\r
\r
<row>\r
<entry>id</entry>\r
<entry>bigserial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>field</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<row>\r
<entry>id</entry>\r
<entry>bigserial</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="vandelay.table.queued-bib-record"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>definition</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="vandelay.table.import-item-attr-definition"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>call_number</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_number</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>status</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>location</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circulate</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deposit</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deposit_amount</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ref</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>holdable</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>price</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>barcode</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_modifier</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_as_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>alert_message</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pub_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>priv_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_visible</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="vandelay.table.import-item-attr-definition" xreflabel="vandelay.import_item_attr_definition"> \r
+ <title>import_item_attr_definition</title>\r
+ <informaltable>\r
+ <tgroup cols="3">\r
+ <colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
+ <colspec colnum="2" colname="col2" colwidth="1.0*"/>\r
+ <colspec colnum="3" colname="col3" colwidth="2.0*"/>\r
+ <thead>\r
+ <row>\r
+ <entry>Field</entry>\r
+ <entry>Data Type</entry>\r
+ <entry>Constraints and References</entry>\r
+ </row>\r
+ </thead>\r
+ <tbody>\r
+ \r
+ <row>\r
+ <entry>id</entry>\r
+ <entry>bigserial</entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>record</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>owner</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="vandelay.table.queued-bib-record"/>\r
+ <xref linkend="actor.table.org-unit"/>\r
\r
\r
- </entry>\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>definition</entry>\r
- <entry>bigint</entry>\r
- <entry>\r
+ <entry>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
+ UNIQUE#1\r
+ ;\r
+ \r
\r
\r
NOT NULL;\r
\r
\r
\r
- <xref linkend="vandelay.table.import-item-attr-definition"/>\r
- \r
\r
- </entry>\r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>tag</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>keep</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>owning_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>circ_lib</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>call_number</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>copy_number</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>status</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>location</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>circulate</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>deposit</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>deposit_amount</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>ref</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>holdable</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>price</entry>\r
- <entry>numeric(8,2)</entry>\r
- <entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>barcode</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>circ_modifier</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>circ_as_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>alert_message</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>opac_visible</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pub_note_title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>pub_note</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>priv_note</entry>\r
+ <entry>priv_note_title</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>opac_visible</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
+ <entry>priv_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
\r
\r
\r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing vandelay.bib_queue via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.bib-queue"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.import-item"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
\r
</para>\r
</simplesect>\r
\r
- <simplesect id="vandelay.table.import-item-attr-definition" xreflabel="vandelay.import_item_attr_definition"> \r
- <title>import_item_attr_definition</title>\r
+ <simplesect id="vandelay.table.merge-profile" xreflabel="vandelay.merge_profile"> \r
+ <title>merge_profile</title>\r
<informaltable>\r
<tgroup cols="3">\r
<colspec colnum="1" colname="col1" colwidth="1.0*"/>\r
<row>\r
<entry>id</entry>\r
<entry>bigserial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>tag</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>keep</entry>\r
- <entry>boolean</entry>\r
- <entry>\r
- \r
- \r
- NOT NULL;\r
- \r
- \r
- DEFAULT false;\r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>owning_lib</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_lib</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>call_number</entry>\r
+ <entry>add_spec</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>copy_number</entry>\r
+ <entry>replace_spec</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>status</entry>\r
+ <entry>strip_spec</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
- <entry>location</entry>\r
+ <entry>preserve_spec</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circulate</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>deposit_amount</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>ref</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>holdable</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>price</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>barcode</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_modifier</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>circ_as_type</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>alert_message</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>opac_visible</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub_note_title</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>pub_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>priv_note_title</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
- </row>\r
- \r
- <row>\r
- <entry>priv_note</entry>\r
- <entry>text</entry>\r
- <entry>\r
- \r
- \r
- \r
- \r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<para>\r
\r
\r
+ <variablelist>\r
+ <title>Constraints on merge_profile</title>\r
+ \r
+ <varlistentry>\r
+ <term>add_replace_strip_or_preserve</term>\r
+ <listitem><para>CHECK ((((preserve_spec IS NOT NULL) OR (replace_spec IS NOT NULL)) OR ((preserve_spec IS NULL) AND (replace_spec IS NULL))))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
\r
- <itemizedlist>\r
- <title>\r
- Tables referencing vandelay.bib_queue via Foreign Key Constraints\r
- </title>\r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.bib-queue"/></para>\r
- </listitem>\r
- \r
- \r
- \r
- <listitem>\r
- <para><xref linkend="vandelay.table.import-item"/></para>\r
- </listitem>\r
- \r
- </itemizedlist>\r
\r
\r
\r
<row>\r
<entry>id</entry>\r
<entry>bigserial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>owner</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>name</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>complete</entry>\r
<entry>boolean</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT false;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>queue_type</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<title>Constraints on queue</title>\r
\r
<varlistentry>\r
- <term>queue_queue _type_check</term>\r
+ <term>queue_queue_type_check</term>\r
<listitem><para>CHECK ((queue_type = ANY (ARRAY['bib'::text, 'authority'::text])))</para></listitem>\r
</varlistentry>\r
\r
<row>\r
<entry>id</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('queued_record_id_seq'::regclass);\r
+ DEFAULT nextval('vandelay.queued_record_id_seq'::regclass);\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>create_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>import_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>purpose</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT 'import'::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>marc</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>queue</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="vandelay.table.authority-queue"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>imported_as</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="authority.table.record-entry"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<title>Constraints on queued_authority_record</title>\r
\r
<varlistentry>\r
- <term>queued_record _purpose_check</term>\r
+ <term>queued_record_purpose_check</term>\r
<listitem><para>CHECK ((purpose = ANY (ARRAY['import'::text, 'overlay'::text])))</para></listitem>\r
</varlistentry>\r
\r
<row>\r
<entry>id</entry>\r
<entry>bigserial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>record</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="vandelay.table.queued-authority-record"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>field</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="vandelay.table.authority-attr-definition"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>attr_value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<row>\r
<entry>id</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- DEFAULT nextval('queued_record_id_seq'::regclass);\r
+ DEFAULT nextval('vandelay.queued_record_id_seq'::regclass);\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>create_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>import_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>purpose</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT 'import'::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>marc</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>queue</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="vandelay.table.bib-queue"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>bib_source</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="config.table.bib-source"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>imported_as</entry>\r
- <entry>integer</entry>\r
- <entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="biblio.table.record-entry"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<title>Constraints on queued_bib_record</title>\r
\r
<varlistentry>\r
- <term>queued_record_ purpose_check</term>\r
+ <term>queued_record_purpose_check</term>\r
<listitem><para>CHECK ((purpose = ANY (ARRAY['import'::text, 'overlay'::text])))</para></listitem>\r
</varlistentry>\r
\r
<row>\r
<entry>id</entry>\r
<entry>bigserial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>record</entry>\r
<entry>bigint</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="vandelay.table.queued-bib-record"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>field</entry>\r
<entry>integer</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
<xref linkend="vandelay.table.bib-attr-definition"/>\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>attr_value</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<row>\r
<entry>id</entry>\r
<entry>bigserial</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
PRIMARY KEY\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>create_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT now();\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>import_time</entry>\r
<entry>timestamp with time zone</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>purpose</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
DEFAULT 'import'::text;\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
<row>\r
<entry>marc</entry>\r
<entry>text</entry>\r
- <entry>\r
+ <entry><para>\r
\r
\r
NOT NULL;\r
\r
\r
\r
- </entry>\r
+ </para></entry>\r
</row>\r
\r
</tbody>\r
<title>Constraints on queued_record</title>\r
\r
<varlistentry>\r
- <term>queued_record_ purpose_check</term>\r
+ <term>queued_record_purpose_check</term>\r
<listitem><para>CHECK ((purpose = ANY (ARRAY['import'::text, 'overlay'::text])))</para></listitem>\r
</varlistentry>\r
\r
\r
</section>\r
\r
- </appendix>\r
+ </chapter>\r
\r