From d7c56c9ce48d1f775e243311603cf7f01ea1f3de Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 5 Dec 2008 16:29:20 +0000 Subject: [PATCH] adding juvenile flag to the actor.usr table, defaults to false git-svn-id: svn://svn.open-ils.org/ILS/trunk@11417 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/examples/fm_IDL.xml | 15 ++++++++------- .../perlmods/OpenILS/Application/Storage/CDBI/actor.pm | 2 +- Open-ILS/src/sql/Pg/005.schema.actors.sql | 1 + 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 21185a3792..90097ff359 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -1479,13 +1479,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - - - - - - - + + + + + + + + diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/actor.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/actor.pm index f0994a03b7..2202d38c31 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/actor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/actor.pm @@ -12,7 +12,7 @@ __PACKAGE__->table( 'actor_usr' ); __PACKAGE__->columns( Primary => qw/id/ ); __PACKAGE__->columns( Essential => qw/usrname email first_given_name second_given_name family_name billing_address - claims_returned_count home_ou dob deleted + claims_returned_count home_ou dob deleted juvenile active master_account ident_type ident_value ident_type2 ident_value2 net_access_level alias photo_url create_date expire_date credit_forward_balance diff --git a/Open-ILS/src/sql/Pg/005.schema.actors.sql b/Open-ILS/src/sql/Pg/005.schema.actors.sql index 782026c668..1108879b58 100644 --- a/Open-ILS/src/sql/Pg/005.schema.actors.sql +++ b/Open-ILS/src/sql/Pg/005.schema.actors.sql @@ -57,6 +57,7 @@ CREATE TABLE actor.usr ( super_user BOOL NOT NULL DEFAULT FALSE, barred BOOL NOT NULL DEFAULT FALSE, deleted BOOL NOT NULL DEFAULT FALSE, + juvenile BOOL NOT NULL DEFAULT FALSE, usrgroup SERIAL NOT NULL, claims_returned_count INT NOT NULL DEFAULT 0, credit_forward_balance NUMERIC(6,2) NOT NULL DEFAULT 0.00, -- 2.11.0