]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/examples/fm_IDL.xml
LP2050227: Update fm_IDL.xml required fields
authorJason Stephenson <jason@sigio.com>
Wed, 21 Feb 2024 15:09:22 +0000 (10:09 -0500)
committerJane Sandberg <js7389@princeton.edu>
Mon, 18 Mar 2024 15:20:14 +0000 (08:20 -0700)
commitd4b638e99df9f3215b1d25d9c8ebbe7694cc7ade
tree9c9e7fd15b57ae22fd944346c2492da323d5b595
parentaea53ca419f5d4c7fa156f785e2fe6704eea48ad
LP2050227: Update fm_IDL.xml required fields

Add the oils_obj:required="true" attribute to the IDL fields that are
actually required by the database.  A required field is one that
derives from a base table column that has a "NOT NULL" constraint and does
not have a default value.

IDL objects that are virtual or read-only are skipped as are virtual
fields.

Fields that already have the oils_obj:required attribute set are not
changed, even if the fields do not meet our criteria for being
required.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/examples/fm_IDL.xml