--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>\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
+ <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><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
+ \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.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
+ \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
+ \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.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#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ </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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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>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>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>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>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
+ </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
+ \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>from_currency</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="acq.table.currency-type"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>to_currency</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="acq.table.currency-type"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \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
+ <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
+ </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
+ \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>calendar</entry>\r
+ <entry>integer</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>year</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>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>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
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \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
+ <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</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#2\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>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>year</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#2\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>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>code</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
+ \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><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>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.funding-source"/>\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
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.fund"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>amount</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>percent</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>allocator</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>note</entry>\r
+ <entry>text</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
+ </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
+ \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</entry>\r
+ <entry>numeric(100,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="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>fund</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><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
+ \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>fund</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"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>origin_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>origin_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>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>encumbrance</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>debit_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>xfer_destination</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
+ </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
+ </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
+ \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>encumbrance</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</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.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>fund</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><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.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>fund</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><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.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>fund</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><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-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>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.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#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 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
+ \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
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.fund"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>tag</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \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.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
+ <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>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>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>code</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 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.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>funding_source</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(100,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="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>funding_source</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(100,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="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>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>funding_source</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.funding-source"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>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>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="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>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><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.lineitem" xreflabel="acq.lineitem"> \r
+ <title>lineitem</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>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>editor</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>selector</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>provider</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.provider"/>\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
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.purchase-order"/>\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
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.picklist"/>\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><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>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
+ </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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>eg_bib_id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="biblio.table.record-entry"/>\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>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>state</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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\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
+ </title>\r
+ \r
+ <listitem>\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
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \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
+ <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>definition</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>lineitem</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"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>attr_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>attr_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>attr_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="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
+ <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>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>description</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>remove</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT ''::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \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
+ <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>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
+ <row>\r
+ <entry>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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fund_debit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.fund-debit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>eg_copy_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.copy"/>\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>cn_label</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>collection_code</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
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.circ-modifier"/>\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
+ \r
+ \r
+ <xref linkend="actor.table.org-unit"/>\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>recv_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.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
+ <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('lineitem_attr_definition_id_seq'::regclass);\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>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>description</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>remove</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT ''::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \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>xpath</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="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>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ DEFAULT nextval('lineitem_attr_definition_id_seq'::regclass);\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>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>description</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>remove</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT ''::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \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
+ </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>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ DEFAULT nextval('lineitem_attr_definition_id_seq'::regclass);\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>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>description</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>remove</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT ''::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \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>xpath</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="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
+ <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>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
+ <row>\r
+ <entry>creator</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>editor</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>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>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
+ </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="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
+ <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('lineitem_attr_definition_id_seq'::regclass);\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>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>description</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>remove</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT ''::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \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>xpath</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>provider</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.provider"/>\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.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
+ <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('lineitem_attr_definition_id_seq'::regclass);\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>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>description</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>remove</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT ''::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \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
+ \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><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>creator</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>editor</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>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_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>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
+ </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 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="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
+ <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>purchase_order</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.purchase-order"/>\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
+ \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
+ \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><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><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT now();\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="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><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#2\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\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
+ UNIQUE#2\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>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>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
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>holding_tag</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 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
+ \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.purchase-order"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \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
+ <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
+ \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
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="acq.table.provider"/>\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
+ </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>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>provider</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.provider"/>\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>role</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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing acq.provider_contact_address via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="acq.table.provider-contact-address"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \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
+ <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
+ \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
+ \r
+ \r
+ <xref linkend="acq.table.provider-contact"/>\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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \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
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \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>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>subfield</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="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
+ <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>creator</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>editor</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>ordering_agency</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>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>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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>provider</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.provider"/>\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 'new'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \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>name</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 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.po-note"/></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>recuring_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>recuring_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
+ </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>recuring_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>recuring_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
+ </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>recuring_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>recuring_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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="action.view.billable-cirulations" xreflabel="action.billable_cirulations"> \r
+ <title>billable_cirulations</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>recuring_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>recuring_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
+ </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
+ \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>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>recuring_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>recuring_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
+ </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])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \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>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
+ 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
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.copy"/>\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>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
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.copy"/>\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>cancel_cause</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \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>shelf_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
+ <variablelist>\r
+ <title>Constraints on hold_request</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
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \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-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
+ \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('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="asset.table.copy"/>\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>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
+ \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>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>recuring_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>recuring_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
+ </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('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>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
+ \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>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
+ </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.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
+ </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>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
+ </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
+ </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#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="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#1\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#2\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#2\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#2\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#2\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>delay_field</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>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
+ </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
+ </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
+ 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
+ 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 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
+ <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
+ 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="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
+ \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
+ <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
+ </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>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>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>alias</entry>\r
+ <entry>text</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
+ 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 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.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
+ </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="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="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
+ </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="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-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
+ 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="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 actor.usr_org_unit_opt_in via Foreign Key Constraints\r
+ </title>\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
+ </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.subscription"/></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
+ </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 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="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
+ </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="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
+ <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-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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \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>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>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>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>holdable</entry>\r
+ <entry>boolean</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>opac_visible</entry>\r
+ <entry>boolean</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>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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\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
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="asset.table.copy-transparency-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \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
+ <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>transparency</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-transparency"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_copy</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.copy"/>\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
+ </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
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.copy"/>\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.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><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.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
+ </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
+ </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
+ \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
+ </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>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>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>alias</entry>\r
+ <entry>text</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
+ </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>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>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
+ </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
+ </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
+ </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
+ </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
+ \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>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>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
+ \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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\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
+ <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>integer</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><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
+ </para></entry>\r
+ </row>\r
+ \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>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>edit_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>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>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>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
+ 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
+ </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
+ </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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\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
+ <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>integer</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><para>\r
+ \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
+ </para></entry>\r
+ </row>\r
+ \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>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>active</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>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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\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
+ <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
+ NOT NULL;\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
+ \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
+ \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><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>index_vector</entry>\r
+ <entry>public.tsvector</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="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
+ <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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>record_status</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \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
+ <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>arn_source</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'AUTOGEN'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>arn_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
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>editor</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\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
+ </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
+ <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>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><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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing authority.record_note 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
+ </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
+ \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="authority.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
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>editor</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\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
+ </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
+ \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>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>main_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>main_tag</entry>\r
+ <entry>character(3)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>main_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>relationship</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>deprecation</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>display_restriction</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>link_id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>link_tag</entry>\r
+ <entry>character(3)</entry>\r
+ <entry><para>\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
+ \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>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>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>source</entry>\r
+ <entry>integer</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><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>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
+ <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>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>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
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'AUTOGEN'::text;\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
+ DEFAULT next_autogen_tcn_value();\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
+ </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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\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
+ \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
+ </listitem>\r
+ \r
+ \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="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
+ \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
+ <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>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
+ </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>pickup_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>booking_interval</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>fine_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>target_resource_type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="booking.table.resource-type"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_resource</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="booking.table.resource"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>current_resource</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="booking.table.resource"/>\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>pickup_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>capture_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>max_fine</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
+ <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-attr-value-map"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \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
+ <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>reservation</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="booking.table.reservation"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>attr_value</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="booking.table.resource-attr-value"/>\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="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
+ <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.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>type</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="booking.table.resource-type"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ \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>deposit_amount</entry>\r
+ <entry>numeric(8,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>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
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\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
+ <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>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>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
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="booking.table.resource-type"/>\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 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
+ <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>resource</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="booking.table.resource"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>resource_attr</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="booking.table.resource-attr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>value</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="booking.table.resource-attr-value"/>\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="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
+ <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.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>attr</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="booking.table.resource-attr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ \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 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
+ <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>fine_interval</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \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
+ </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.org-unit"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>transferable</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>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fine</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>elbow_room</entry>\r
+ <entry>interval</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 booking.reservation 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
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \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
+ <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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \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
+ <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
+ \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>code</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>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="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
+ <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>quality</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>source</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>transcendant</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
+ <variablelist>\r
+ <title>Constraints on bib_source</title>\r
+ \r
+ <varlistentry>\r
+ <term>bib_source_quality_check</term>\r
+ <listitem><para>CHECK (((quality >= 0) AND (quality <= 100)))</para></listitem>\r
+ </varlistentry>\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
+ \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>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>default_price</entry>\r
+ <entry>numeric(6,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
+ <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
+ <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>matchpoint</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.circ-matrix-matchpoint"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>items_out</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 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
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_mod_test</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="config.table.circ-matrix-circ-mod-test"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_mod</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.circ-modifier"/>\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="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
+ <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>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>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
+ \r
+ <xref linkend="permission.table.grp-tree"/>\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
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.circ-modifier"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>marc_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.item-type-map"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>marc_form</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.item-form-map"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>marc_vr_format</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.videorecording-format-map"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ \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
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \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
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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>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>duration_rule</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.rule-circ-duration"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recurring_fine_rule</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.rule-recuring-fine"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fine_rule</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.rule-max-fine"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>script_test</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ </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 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
+ <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>matchpoint</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="config.table.circ-matrix-matchpoint"/>\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>max_items_out</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_overdue</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>max_fines</entry>\r
+ <entry>numeric(8,2)</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>org_depth</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>script_test</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="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
+ <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><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>description</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>sip2_media_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>magnetic_media</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 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><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>holdable</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 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.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.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
+ <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>ceiling_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>forceto</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>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
+ <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="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
+ <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>hard_due_date</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.hard-due-date"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ceiling_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>active_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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\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
+ <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>user_home_ou</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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>request_ou</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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pickup_ou</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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_owning_ou</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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_circ_ou</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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usr_grp</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="permission.table.grp-tree"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>requestor_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
+ \r
+ <xref linkend="permission.table.grp-tree"/>\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
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.circ-modifier"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>marc_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.item-type-map"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>marc_form</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.item-form-map"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>marc_vr_format</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE#1\r
+ ;\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.videorecording-format-map"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ref_flag</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>juvenile_flag</entry>\r
+ <entry>boolean</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>age_hold_protect_rule</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.rule-age-hold-protect"/>\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>distance_is_from_owner</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>transit_range</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>max_holds</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>include_frozen_holds</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>stop_blocked_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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\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
+ <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>matchpoint</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="config.table.hold-matrix-matchpoint"/>\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
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT true;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>distance_is_from_owner</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>transit_range</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>max_holds</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>include_frozen_holds</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>stop_blocked_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>age_hold_protect_rule</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.rule-age-hold-protect"/>\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="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
+ <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>fq_field</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>identity_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>translation</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.i18n-locale"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>string</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="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>code</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>marc_code</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.language-map"/>\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>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 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>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
+ </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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>fm_class</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>field</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>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>string</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="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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \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
+ <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>code</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>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
+ <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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \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
+ <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>code</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>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>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
+ \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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>field_class</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>xpath</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>weight</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>format</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'mods32'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>search_field</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>facet_field</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
+ <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><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
+ </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>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
+ 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><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_duration</entry>\r
+ <entry>interval</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT '14 days'::interval;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\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
+ <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>age</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>prox</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
+ <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
+ <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>extended</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>normal</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>shrt</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>max_renewals</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
+ <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>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>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>is_percent</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
+ <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
+ <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>high</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>normal</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>low</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>recurance_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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\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
+ <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>value</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 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
+ \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>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>block_list</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.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>version</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>install_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="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>code</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>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
+ <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>name</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>namespace_uri</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>prefix</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>xslt</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="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
+ \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</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.z3950-source"/>\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>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>code</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>format</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>truncation</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="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>name</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>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
+ <row>\r
+ <entry>host</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>port</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>db</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>record_format</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'FI'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>transmission_format</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'usmarc'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>auth</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 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
+ <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.usr"/>\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>btype</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 'misc'::text;\r
+ \r
+ \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_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
+ <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
+ <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>bucket</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="container.table.biblio-record-entry-bucket"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_biblio_record_entry</entry>\r
+ <entry>integer</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>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>pos</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
+ <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>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>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="container.table.biblio-record-entry-bucket-item"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</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="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
+ <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>bucket</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="container.table.biblio-record-entry-bucket"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</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="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
+ <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><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
+ \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>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.usr"/>\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>btype</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 'misc'::text;\r
+ \r
+ \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_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
+ <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
+ <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>bucket</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="container.table.call-number-bucket"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_call_number</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.call-number"/>\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>pos</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
+ <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
+ <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>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="container.table.call-number-bucket-item"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</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="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>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>bucket</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="container.table.call-number-bucket"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</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="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
+ <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><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
+ \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>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>btype</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 'misc'::text;\r
+ \r
+ \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_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
+ <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
+ <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>bucket</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="container.table.copy-bucket"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_copy</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
+ \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>pos</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
+ <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><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>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="container.table.copy-bucket-item"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</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="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
+ <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>bucket</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="container.table.copy-bucket"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</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="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>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>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
+ \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>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>btype</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 'misc'::text;\r
+ \r
+ \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_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
+ <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>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>bucket</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="container.table.user-bucket"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>target_user</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>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>pos</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
+ <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
+ <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>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="container.table.user-bucket-item"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</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="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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>bucket</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="container.table.user-bucket"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>note</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="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>code</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>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
+ \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><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_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="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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>holding_update</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_type</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="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><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.copy"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_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
+ </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
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \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>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
+ </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>index_vector</entry>\r
+ <entry>public.tsvector</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="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
+ </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>tag</entry>\r
+ <entry>character(3)</entry>\r
+ <entry><para>\r
+ \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
+ \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><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>index_vector</entry>\r
+ <entry>public.tsvector</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="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
+ <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>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>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
+ </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>index_vector</entry>\r
+ <entry>public.tsvector</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="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>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>fingerprint</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>master_record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>mods</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 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
+ <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>metarecord</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="metabib.table.metarecord"/>\r
+ \r
+ \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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \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
+ <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('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
+ \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><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>index_vector</entry>\r
+ <entry>public.tsvector</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="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
+ <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
+ \r
+ \r
+ \r
+ <xref linkend="biblio.table.record-entry"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>bib_level</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>control_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \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
+ <row>\r
+ <entry>enc_level</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \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>lit_form</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cat_form</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_lang</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\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
+ \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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>date2</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="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
+ <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>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><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
+ <row>\r
+ <entry>index_vector</entry>\r
+ <entry>public.tsvector</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="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
+ <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>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>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
+ </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>index_vector</entry>\r
+ <entry>public.tsvector</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="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
+ <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>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>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
+ </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>index_vector</entry>\r
+ <entry>public.tsvector</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
+ </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>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
+ \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
+ </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>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>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\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
+ </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
+ </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
+ </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-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
+ <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>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\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
+ </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
+ </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
+ </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.billing" xreflabel="money.billing"> \r
+ <title>billing</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>xact</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>billing_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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>voider</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\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
+ \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
+ </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
+ \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>btype</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.billing-type"/>\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="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
+ DEFAULT nextval('payment_id_seq'::regclass);\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
+ 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
+ </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
+ </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>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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cash_drawer</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
+ </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>id</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ DEFAULT nextval('payment_id_seq'::regclass);\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
+ 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
+ </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
+ </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>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
+ </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.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
+ <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>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\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
+ \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><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
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>accepting_usr</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
+ \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.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
+ <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('payment_id_seq'::regclass);\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
+ 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
+ </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
+ </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>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
+ </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
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \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
+ <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>org_unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>payment_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\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
+ \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>voided</entry>\r
+ <entry>boolean</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="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
+ <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('payment_id_seq'::regclass);\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
+ 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
+ </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
+ </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>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
+ </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>check_number</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="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><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>collector</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>location</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>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
+ </tgroup>\r
+ </informaltable>\r
+ <para>\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
+ <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('payment_id_seq'::regclass);\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
+ 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
+ </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
+ </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>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
+ </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>cc_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>cc_number</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>expire_year</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \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
+ </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.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
+ <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('payment_id_seq'::regclass);\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
+ 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
+ </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
+ </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>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
+ </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.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
+ <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>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\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
+ \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><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
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>accepting_usr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \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
+ \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.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
+ <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('payment_id_seq'::regclass);\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
+ 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
+ </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
+ </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>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
+ </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.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
+ <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('payment_id_seq'::regclass);\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
+ 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
+ </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
+ </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>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
+ </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.grocery" xreflabel="money.grocery"> \r
+ <title>grocery</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('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
+ NOT NULL;\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
+ 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>billing_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>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="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
+ <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>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\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
+ </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
+ </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
+ </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.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
+ <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>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\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
+ \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><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
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>accepting_usr</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
+ \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-balance-by-circ-and-owning-lib" xreflabel="money.open_balance_by_circ_and_owning_lib"> \r
+ <title>open_balance_by_circ_and_owning_lib</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_lib</entry>\r
+ <entry>integer</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>billing_types</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>balance</entry>\r
+ <entry>numeric</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="money.view.open-balance-by-owning-lib" xreflabel="money.open_balance_by_owning_lib"> \r
+ <title>open_balance_by_owning_lib</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>owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billing_types</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>balance</entry>\r
+ <entry>numeric</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="money.view.open-balance-by-usr-home-and-owning-lib" xreflabel="money.open_balance_by_usr_home_and_owning_lib"> \r
+ <title>open_balance_by_usr_home_and_owning_lib</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>home_ou</entry>\r
+ <entry>integer</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>billing_types</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>balance</entry>\r
+ <entry>numeric</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="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
+ <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>billing_location</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>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\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
+ </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
+ </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
+ </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-circ-balance-by-circ-and-owning-lib" xreflabel="money.open_circ_balance_by_circ_and_owning_lib"> \r
+ <title>open_circ_balance_by_circ_and_owning_lib</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>circ_lib</entry>\r
+ <entry>integer</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>billing_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billed</entry>\r
+ <entry>numeric</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="money.view.open-circ-balance-by-owning-lib" xreflabel="money.open_circ_balance_by_owning_lib"> \r
+ <title>open_circ_balance_by_owning_lib</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>owning_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \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
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billed</entry>\r
+ <entry>numeric</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="money.view.open-circ-balance-by-usr-home-and-owning-lib" xreflabel="money.open_circ_balance_by_usr_home_and_owning_lib"> \r
+ <title>open_circ_balance_by_usr_home_and_owning_lib</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>home_ou</entry>\r
+ <entry>integer</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>billing_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billed</entry>\r
+ <entry>numeric</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="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>xact</entry>\r
+ <entry>bigint</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>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_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>total_owed</entry>\r
+ <entry>numeric</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="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
+ <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><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>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_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>total_owed</entry>\r
+ <entry>numeric</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="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
+ \r
+ <row>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_paid</entry>\r
+ <entry>numeric</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="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
+ <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</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</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
+ </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
+ \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>total_paid</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \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
+ </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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \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
+ <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>xact</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>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
+ </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
+ </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="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
+ <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>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\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
+ \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><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
+ \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
+ \r
+ <row>\r
+ <entry>xact</entry>\r
+ <entry>bigint</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>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_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>total_owed</entry>\r
+ <entry>numeric</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="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><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>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_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>total_owed</entry>\r
+ <entry>numeric</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="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><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>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_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>total_owed</entry>\r
+ <entry>numeric</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="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><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_paid</entry>\r
+ <entry>numeric</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="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
+ <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><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>last_payment_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_paid</entry>\r
+ <entry>numeric</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="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
+ <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</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \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
+ <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</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</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
+ </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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ DEFAULT nextval('payment_id_seq'::regclass);\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
+ 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
+ </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
+ </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>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
+ </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="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
+ <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>session</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>requestor</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>create_time</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>workstation</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>logfile</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>time_delta</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>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="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
+ <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>org</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>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \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
+ NOT NULL;\r
+ \r
+ \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
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>in_process</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>start_time</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>end_time</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>num_complete</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
+ </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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ \r
+ <xref linkend="permission.table.grp-tree"/>\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>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
+ \r
+ \r
+ <xref linkend="config.table.standing-penalty"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>threshold</entry>\r
+ <entry>numeric(8,2)</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="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
+ <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>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
+ \r
+ <xref linkend="permission.table.grp-tree"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>perm</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="permission.table.perm-list"/>\r
+ \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>grantable</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="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><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>parent</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="permission.table.grp-tree"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>usergroup</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>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
+ </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>application_perm</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>hold_priority</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 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
+ <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>code</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>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 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><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
+ \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
+ <row>\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
+ \r
+ <xref linkend="permission.table.grp-tree"/>\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="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
+ <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
+ 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>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
+ \r
+ \r
+ <xref linkend="permission.table.perm-list"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>object_type</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>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
+ </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.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
+ <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
+ 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>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
+ \r
+ \r
+ <xref linkend="permission.table.perm-list"/>\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>grantable</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="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
+ <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
+ \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
+ <row>\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
+ \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
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ </section>\r
+ \r
+ <section id="public.schema">\r
+ <title>Schema public</title>\r
+ \r
+ <simplesect id="public.view.before-1980" xreflabel="public.before_1980"> \r
+ <title>before_1980</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>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ltrim</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="public.view.billingtest" xreflabel="public.billingtest"> \r
+ <title>billingtest</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</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>sum</entry>\r
+ <entry>numeric</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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="public.view.booking" xreflabel="public.booking"> \r
+ <title>booking</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><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>request lib</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pick up lib</entry>\r
+ <entry>text</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>user barcode</entry>\r
+ <entry>text</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>Call Number</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>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
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="public.view.booking2" xreflabel="public.booking2"> \r
+ <title>booking2</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><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>owning library</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>pick up lib</entry>\r
+ <entry>text</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>user barcode</entry>\r
+ <entry>text</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>Call Number</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>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
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="public.view.circ-mod-count" xreflabel="public.circ_mod_count"> \r
+ <title>circ_mod_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>campus</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>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="public.view.iahs-callnums-titles" xreflabel="public.iahs_callnums_titles"> \r
+ <title>iahs_callnums_titles</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>label</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><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="public.view.iahs-canada" xreflabel="public.iahs_canada"> \r
+ <title>iahs_canada</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>label</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><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="public.view.items-1980-89" xreflabel="public.items_1980_89"> \r
+ <title>items_1980_89</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>record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ltrim</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="public.view.mat-sum" xreflabel="public.mat_sum"> \r
+ <title>mat_sum</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</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>balance_owed</entry>\r
+ <entry>numeric</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="public.table.mohawkstudents" xreflabel="public.mohawkstudents"> \r
+ <title>mohawkstudents</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>student_id</entry>\r
+ <entry>integer</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>last_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>first_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>program_number</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>program_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>address_type</entry>\r
+ <entry>text</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>province</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
+ DEFAULT 'Canada'::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>postal_code</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>profile</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ DEFAULT 2;\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
+ DEFAULT 3;\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
+ DEFAULT 101;\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>usrname</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
+ DEFAULT 2;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>password</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="public.table.mohawkstudents2" xreflabel="public.mohawkstudents2"> \r
+ <title>mohawkstudents2</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>student_id</entry>\r
+ <entry>integer</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>last_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>first_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>program_number</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>program_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>address_type</entry>\r
+ <entry>text</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>province</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>postal_code</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>profile</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>home_ou</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>usrname</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>password</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="public.view.money-totals" xreflabel="public.money_totals"> \r
+ <title>money_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>balanced owed</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>paid</entry>\r
+ <entry>numeric</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="public.table.pg-ts-cfg" xreflabel="public.pg_ts_cfg"> \r
+ <title>pg_ts_cfg</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>ts_name</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>prs_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>locale</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="public.table.pg-ts-cfgmap" xreflabel="public.pg_ts_cfgmap"> \r
+ <title>pg_ts_cfgmap</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>ts_name</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>tok_alias</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>dict_name</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="public.table.pg-ts-dict" xreflabel="public.pg_ts_dict"> \r
+ <title>pg_ts_dict</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>dict_name</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>dict_init</entry>\r
+ <entry>regprocedure</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dict_initoption</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dict_lexize</entry>\r
+ <entry>regprocedure</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dict_comment</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="public.table.pg-ts-parser" xreflabel="public.pg_ts_parser"> \r
+ <title>pg_ts_parser</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>prs_name</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>prs_start</entry>\r
+ <entry>regprocedure</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prs_nexttoken</entry>\r
+ <entry>regprocedure</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prs_end</entry>\r
+ <entry>regprocedure</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prs_headline</entry>\r
+ <entry>regprocedure</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prs_lextype</entry>\r
+ <entry>regprocedure</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>prs_comment</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="public.view.pre-1980-items" xreflabel="public.pre_1980_items"> \r
+ <title>pre_1980_items</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>campus</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>call number</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>year</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="public.view.record-title" xreflabel="public.record_title"> \r
+ <title>record_title</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>record</entry>\r
+ <entry>bigint</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><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="public.view.titles-80-to-89" xreflabel="public.titles_80_to_89"> \r
+ <title>titles_80_to_89</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>campus</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>call number</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>year</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="public.view.user-financial-summary" xreflabel="public.user_financial_summary"> \r
+ <title>user_financial_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>usrname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_paid</entry>\r
+ <entry>numeric</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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="public.table.weblinks" xreflabel="public.weblinks"> \r
+ <title>weblinks</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>RecordID</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>Title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>Creator</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>URL</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>Access</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>FullText</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>Date</entry>\r
+ <entry>date</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>DescriptionShort</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>DescriptionLong</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \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
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>NumberOfUsers</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>Tutorial</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>SubjectKeywords</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>SubjectLCSH</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>SubjectCategories</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>JointCategory</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ResourceTypes</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>Coverage</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>CanadianContent</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>RightsManagement</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>Notes</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>DateCreated</entry>\r
+ <entry>date</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>DateModified</entry>\r
+ <entry>date</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>MohawkOnly</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>Course</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>KeySite</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ScholarlySite</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>Cataloguer</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>EditedBy</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
+ </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
+ <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>type</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="reporter.view.classic-current-billing-summary" xreflabel="reporter.classic_current_billing_summary"> \r
+ <title>classic_current_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>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>billing_location_shortname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>billing_location_name</entry>\r
+ <entry>text</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
+ </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>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_home_ou_shortname</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_name</entry>\r
+ <entry>text</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>xact_type</entry>\r
+ <entry>name</entry>\r
+ <entry><para>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>total_owed</entry>\r
+ <entry>numeric</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>last_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>last_payment_note</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\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
+ </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
+ </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
+ </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>patron_county</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>patron_city</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>patron_zip</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>profile_group</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>demographic_general_division</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="reporter.view.classic-current-circ" xreflabel="reporter.classic_current_circ"> \r
+ <title>classic_current_circ</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_lib</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib_id</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>circ_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>copy_id</entry>\r
+ <entry>bigint</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>owning_lib_name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>language</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>lit_form</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>shelving_location</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>patron_id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>profile_group</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>demographic_general_division</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>call_number</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>call_number_label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dewey</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dewey_block_tens</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dewey_block_hundreds</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dewey_range_tens</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dewey_range_hundreds</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>patron_home_lib</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>patron_home_lib_shortname</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>patron_county</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>patron_city</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>patron_zip</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat_1</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat_2</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat_1_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat_2_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
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="reporter.view.classic-item-list" xreflabel="reporter.classic_item_list"> \r
+ <title>classic_item_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>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>pubdate</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>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>call_number_label</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dewey_block_tens</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>dewey_block_hundreds</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>use_count</entry>\r
+ <entry>bigint</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>shelving_location</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat_1</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat_2</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat_1_value</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>stat_cat_2_value</entry>\r
+ <entry>text</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>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>owning_lib_name</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
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib_name</entry>\r
+ <entry>text</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>age_protect</entry>\r
+ <entry>integer</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>ref</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>deleted</entry>\r
+ <entry>boolean</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>status</entry>\r
+ <entry>integer</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>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>patron_barcode</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>patron_name</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="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>id</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>runner_barcode</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>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
+ </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.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>id</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>general_division</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="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
+ <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
+ </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
+ <row>\r
+ <entry>hold_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>bib_record</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="reporter.view.legacy-cat1" xreflabel="reporter.legacy_cat1"> \r
+ <title>legacy_cat1</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
+ </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>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
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="reporter.view.legacy-cat2" xreflabel="reporter.legacy_cat2"> \r
+ <title>legacy_cat2</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
+ </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>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
+ \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
+ \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>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><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>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>publisher</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>isbn</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\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
+ </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.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
+ <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>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><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>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>publisher</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>isbn</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\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
+ </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.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
+ <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</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
+ \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><para>\r
+ \r
+ \r
+ NOT NULL;\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>shared</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>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
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\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
+ <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>recuring_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>recuring_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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\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
+ <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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>runner_barcode</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>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
+ </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>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>runner_barcode</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>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
+ </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><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>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>name</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT ''::text;\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
+ DEFAULT ''::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>template</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.template"/>\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
+ <row>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>recur</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>recurance</entry>\r
+ <entry>interval</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 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
+ <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
+ <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</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="reporter.table.report-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
+ \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><para>\r
+ \r
+ \r
+ NOT NULL;\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>shared</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>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
+ </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
+ \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
+ <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>report</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"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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.output-folder"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>runner</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>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
+ </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>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>email</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>html_format</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>csv_format</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>chart_pie</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>chart_bar</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>chart_line</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>error_code</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>error_text</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="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
+ <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>metarecord</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><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>title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \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
+ \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>publisher</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>series_title</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>series_statement</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>summary</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \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
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>issn</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>topic_subject</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>genre</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>name_subject</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>corporate_subject</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>external_uri</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="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
+ <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>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><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>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>publisher</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>isbn</entry>\r
+ <entry>text[]</entry>\r
+ <entry><para>\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
+ </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.template" xreflabel="reporter.template"> \r
+ <title>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>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>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>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
+ <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
+ <row>\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.template-folder"/>\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 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><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</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \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
+ 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><para>\r
+ \r
+ \r
+ NOT NULL;\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>shared</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>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
+ </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><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ </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
+ \r
+ <row>\r
+ <entry>xact</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ </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
+ \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>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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>bump_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>multiplier</entry>\r
+ <entry>numeric</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1.0;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\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
+ </section>\r
+ \r
+ <section id="serial.schema">\r
+ <title>Schema serial</title>\r
+ \r
+ <simplesect id="serial.table.bib-summary" xreflabel="serial.bib_summary"> \r
+ <title>bib_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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>subscription</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="serial.table.subscription"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>generated_coverage</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>textual_holdings</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="serial.table.binding-unit" xreflabel="serial.binding_unit"> \r
+ <title>binding_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>subscription</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="serial.table.subscription"/>\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#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 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
+ <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>subscription</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="serial.table.subscription"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>generated_coverage</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>textual_holdings</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="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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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
+ </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
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.copy"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>location</entry>\r
+ <entry>bigint</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>binding_unit</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="serial.table.binding-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
+ \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="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
+ <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
+ \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
+ DEFAULT 1;\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>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>editor</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 1;\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>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
+ <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>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>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>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
+ </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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>callnumber</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="asset.table.call-number"/>\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
+ \r
+ \r
+ <xref linkend="asset.table.uri"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>start_date</entry>\r
+ <entry>date</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>end_date</entry>\r
+ <entry>date</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 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><para>\r
+ \r
+ \r
+ PRIMARY KEY\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>subscription</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ UNIQUE;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="serial.table.subscription"/>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>generated_coverage</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>textual_holdings</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
+ </section>\r
+ \r
+ <section id="stats.schema">\r
+ <title>Schema stats</title>\r
+ \r
+ <simplesect id="stats.view.fleshed-call-number" xreflabel="stats.fleshed_call_number"> \r
+ <title>fleshed_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>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>create_date_day</entry>\r
+ <entry>date</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>edit_date_day</entry>\r
+ <entry>date</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date_hour</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_hour</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>item_lang</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \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
+ </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="stats.view.fleshed-circulation" xreflabel="stats.fleshed_circulation"> \r
+ <title>fleshed_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>recuring_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>recuring_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>start_date_day</entry>\r
+ <entry>date</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>finish_date_day</entry>\r
+ <entry>date</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>start_date_hour</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>finish_date_hour</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>call_number_label</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
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_lang</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \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
+ </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="stats.view.fleshed-copy" xreflabel="stats.fleshed_copy"> \r
+ <title>fleshed_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>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
+ \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>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>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
+ \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>create_date_day</entry>\r
+ <entry>date</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>edit_date_day</entry>\r
+ <entry>date</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>create_date_hour</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_hour</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>call_number_label</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
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_lang</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_type</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \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
+ </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="vandelay.schema">\r
+ <title>Schema vandelay</title>\r
+ \r
+ <simplesect id="vandelay.table.authority-attr-definition" xreflabel="vandelay.authority_attr_definition"> \r
+ <title>authority_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>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>code</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>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xpath</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>remove</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT ''::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing vandelay.queued_authority_record_attr via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.queued-authority-record-attr"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="vandelay.table.authority-match" xreflabel="vandelay.authority_match"> \r
+ <title>authority_match</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>matched_attr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="vandelay.table.queued-authority-record-attr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>queued_record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="vandelay.table.queued-authority-record"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>eg_record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="authority.table.record-entry"/>\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.authority-queue" xreflabel="vandelay.authority_queue"> \r
+ <title>authority_queue</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('queue_id_seq'::regclass);\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
+ 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#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \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
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>queue_type</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 'authority'::text;\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 authority_queue</title>\r
+ \r
+ <varlistentry>\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
+ <listitem><para>CHECK ((queue_type = ANY (ARRAY['bib'::text, 'authority'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing vandelay.queued_authority_record via Foreign Key Constraints\r
+ </title>\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="vandelay.table.bib-attr-definition" xreflabel="vandelay.bib_attr_definition"> \r
+ <title>bib_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>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>code</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>description</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>xpath</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>remove</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT ''::text;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing vandelay.queued_bib_record_attr via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.queued-bib-record-attr"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="vandelay.table.bib-match" xreflabel="vandelay.bib_match"> \r
+ <title>bib_match</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>field_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>matched_attr</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="vandelay.table.queued-bib-record-attr"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>queued_record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="vandelay.table.queued-bib-record"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>eg_record</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="biblio.table.record-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_match</title>\r
+ \r
+ <varlistentry>\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
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="vandelay.table.bib-queue" xreflabel="vandelay.bib_queue"> \r
+ <title>bib_queue</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('queue_id_seq'::regclass);\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
+ 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#1\r
+ ;\r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \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
+ DEFAULT false;\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>queue_type</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 'bib'::text;\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>item_attr_def</entry>\r
+ <entry>bigint</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="vandelay.table.import-item-attr-definition"/>\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_queue</title>\r
+ \r
+ <varlistentry>\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
+ <listitem><para>CHECK ((queue_type = ANY (ARRAY['bib'::text, 'authority'::text])))</para></listitem>\r
+ </varlistentry>\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="vandelay.table.import-bib-trash-fields" xreflabel="vandelay.import_bib_trash_fields"> \r
+ <title>import_bib_trash_fields</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>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>field</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="vandelay.table.import-item" xreflabel="vandelay.import_item"> \r
+ <title>import_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>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="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
+ \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>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>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>circ_lib</entry>\r
+ <entry>text</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>text</entry>\r
+ <entry><para>\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
+ \r
+ \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>circulate</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deposit</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>deposit_amount</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>ref</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>holdable</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>price</entry>\r
+ <entry>text</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>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
+ </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_title</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
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\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.queue" xreflabel="vandelay.queue"> \r
+ <title>queue</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>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.usr"/>\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>complete</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>queue_type</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 'bib'::text;\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 queue</title>\r
+ \r
+ <varlistentry>\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
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="vandelay.table.queued-authority-record" xreflabel="vandelay.queued_authority_record"> \r
+ <title>queued_authority_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
+ \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('queued_record_id_seq'::regclass);\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>import_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>purpose</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'import'::text;\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>queue</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="vandelay.table.authority-queue"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>imported_as</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="authority.table.record-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 queued_authority_record</title>\r
+ \r
+ <varlistentry>\r
+ <term>queued_record_purpose_check</term>\r
+ <listitem><para>CHECK ((purpose = ANY (ARRAY['import'::text, 'overlay'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing vandelay.authority_match via Foreign Key Constraints\r
+ </title>\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-attr"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="vandelay.table.queued-authority-record-attr" xreflabel="vandelay.queued_authority_record_attr"> \r
+ <title>queued_authority_record_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
+ \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="vandelay.table.queued-authority-record"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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="vandelay.table.authority-attr-definition"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>attr_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
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing vandelay.authority_match via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.authority-match"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="vandelay.table.queued-bib-record" xreflabel="vandelay.queued_bib_record"> \r
+ <title>queued_bib_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
+ \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('queued_record_id_seq'::regclass);\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>import_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>purpose</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'import'::text;\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
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>queue</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="vandelay.table.bib-queue"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>bib_source</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="config.table.bib-source"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>imported_as</entry>\r
+ <entry>integer</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ \r
+ <xref linkend="biblio.table.record-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 queued_bib_record</title>\r
+ \r
+ <varlistentry>\r
+ <term>queued_record_purpose_check</term>\r
+ <listitem><para>CHECK ((purpose = ANY (ARRAY['import'::text, 'overlay'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing vandelay.bib_match via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.bib-match"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.import-item"/></para>\r
+ </listitem>\r
+ \r
+ \r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.queued-bib-record-attr"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="vandelay.table.queued-bib-record-attr" xreflabel="vandelay.queued_bib_record_attr"> \r
+ <title>queued_bib_record_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
+ \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="vandelay.table.queued-bib-record"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\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="vandelay.table.bib-attr-definition"/>\r
+ \r
+ \r
+ </para></entry>\r
+ </row>\r
+ \r
+ <row>\r
+ <entry>attr_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
+ <itemizedlist>\r
+ <title>\r
+ Tables referencing vandelay.bib_match via Foreign Key Constraints\r
+ </title>\r
+ \r
+ <listitem>\r
+ <para><xref linkend="vandelay.table.bib-match"/></para>\r
+ </listitem>\r
+ \r
+ </itemizedlist>\r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ <simplesect id="vandelay.table.queued-record" xreflabel="vandelay.queued_record"> \r
+ <title>queued_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
+ \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>import_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>purpose</entry>\r
+ <entry>text</entry>\r
+ <entry><para>\r
+ \r
+ \r
+ NOT NULL;\r
+ \r
+ \r
+ DEFAULT 'import'::text;\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
+ </para></entry>\r
+ </row>\r
+ \r
+ </tbody>\r
+ </tgroup>\r
+ </informaltable>\r
+ <para>\r
+ \r
+ \r
+ <variablelist>\r
+ <title>Constraints on queued_record</title>\r
+ \r
+ <varlistentry>\r
+ <term>queued_record_purpose_check</term>\r
+ <listitem><para>CHECK ((purpose = ANY (ARRAY['import'::text, 'overlay'::text])))</para></listitem>\r
+ </varlistentry>\r
+ \r
+ </variablelist>\r
+ \r
+ \r
+ \r
+ \r
+ \r
+ </para>\r
+ </simplesect>\r
+ \r
+ </section>\r
+ \r
+ </chapter>\r
+\r