[OPEN-ILS-DOCUMENTATION] Schema Documentation

Soulliere, Robert robert.soulliere at mohawkcollege.ca
Mon Apr 11 09:37:07 EDT 2016


Hi Josh,

It is using postgresql autodoc. That application is automatically adding that .table prefix to the references. Not sure if it is possible to remove it, but I will try to investigate.

Thanks,
Robert


Robert Soulliere, BA (Hons), MLIS
Digital Systems Librarian
Mohawk College
(905) 575 1212 EXT. 3936
library.mohawkcollege.ca



________________________________________
From: OPEN-ILS-DOCUMENTATION <open-ils-documentation-bounces at list.georgialibraries.org> on behalf of Ben Shum <ben at evergreener.net>
Sent: April 10, 2016 10:29 AM
To: Documentation discussion for Evergreen software
Subject: Re: [OPEN-ILS-DOCUMENTATION] Schema Documentation

Hi Josh,

I started looking to see if I could find it and all I can gather so
far is that it's probably still using some variation on postgresql
autodoc.

Some links to older versions / discussions:

http://markmail.org/thread/kmkqi5alz26qnnqs
http://markmail.org/message/nsvvt35vl2ltaym5

And slightly more recently, I found this in a DIG meeting minutes for
Evergreen 2.3 (see 4.g):

http://evergreen-ils.org/meetings/evergreen/2013/evergreen.2013-01-10-14.00.html

Looking back to those earlier 2.3 schema, I can see that they also had
that odd .table in the reference link, but it was also an actual link
to the real table.  So that too has changed over time.

Guess we'll have to check with Robert / Yamil to see how this is all
handled with more modern versions.

-- Ben


On Fri, Apr 8, 2016 at 9:52 AM, Josh Stompro <stomproj at exchange.larl.org> wrote:
> Hello, does anyone have docs on how the schema documentation is generated.
> I’m curious about two things.
>
> http://docs.evergreen-ils.org/2.8/schema/
>
>
>
> Why are the REFERENCES lines the way they are.  For example in the
> asset.copy docs – status shows up as
>
> status integer NOT NULL REFERENCES config.table.copy-status
>
>
>
> Why is “.table” added and why are underscores changed to dashes.  The actual
> table is “config.copy_status” not “config.table.copy-status”.  This adds
> extra work if you want to copy and paste the table into a join statement for
> example.
>
>
>
> Second question: would SQL COMMENTS on each field and table be able to be
> shown in the schema docs.  I’ve worked on adding comments long ago to the
> schema (http://markmail.org/message/ooiea4nyclnul3cs) and it would be great
> if those comments could be displayed if I ever start that project back up
> again.
>
>
>
> Josh
>
>
>
> Lake Agassiz Regional Library - Moorhead MN larl.org
>
> Josh Stompro     | Office 218.233.3757 EXT-139
>
> LARL IT Director | Cell 218.790.2110
>
>
>
>
> _______________________________________________
> OPEN-ILS-DOCUMENTATION mailing list
> OPEN-ILS-DOCUMENTATION at list.georgialibraries.org
> http://list.georgialibraries.org/mailman/listinfo/open-ils-documentation
>
_______________________________________________
OPEN-ILS-DOCUMENTATION mailing list
OPEN-ILS-DOCUMENTATION at list.georgialibraries.org
http://list.georgialibraries.org/mailman/listinfo/open-ils-documentation

________________________________

This E-mail contains privileged and confidential information intended
only for the individual or entity named in the message. If the reader
of this message is not the intended recipient, or the agent responsible
to deliver it to the intended recipient, you are hereby notified that
any review, dissemination, distribution or copying of this communication
is prohibited. If this communication was received in error, please
notify the sender by reply E-mail immediately, and delete and destroy
the original message.


More information about the OPEN-ILS-DOCUMENTATION mailing list