adding access to the base "transit copy" table
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 20 Jul 2005 21:17:22 +0000 (21:17 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 20 Jul 2005 21:17:22 +0000 (21:17 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1318 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/action.pm
Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/dbi.pm
Open-ILS/src/perlmods/OpenILS/Utils/Fieldmapper.pm

index eedf83a..028e5ff 100644 (file)
@@ -93,7 +93,16 @@ package action::hold_transit_copy;
 use base qw/action/;
 __PACKAGE__->table('action_hold_transit_copy');
 __PACKAGE__->columns(Primary => 'id');
-__PACKAGE__->columns(Essential => qw/hold source dest persistant_transfer
+__PACKAGE__->columns(Essential => qw/hold source dest persistant_transfer target_copy
+                                    source_send_time dest_recv_time prev_hop/);
+
+#-------------------------------------------------------------------------------
+
+package action::transit_copy;
+use base qw/action/;
+__PACKAGE__->table('action_transit_copy');
+__PACKAGE__->columns(Primary => 'id');
+__PACKAGE__->columns(Essential => qw/hold source dest persistant_transfer target_copy
                                     source_send_time dest_recv_time prev_hop/);
 
 #-------------------------------------------------------------------------------
index 3d2ecc4..5c13c91 100644 (file)
 
        #-------------------------------------------------------------------------------
 
+       package action::transit_copy;
+
+       action::transit_copy->sequence( 'action.transit_copy_id_seq' );
+       action::transit_copy->table('action.transit_copy');
+
+       #-------------------------------------------------------------------------------
+
 
 }
 
index fd43df0..9b55f88 100644 (file)
@@ -186,6 +186,7 @@ sub _init {
                'Fieldmapper::action::hold_notification'        => { hint => 'ahn'   },
                'Fieldmapper::action::hold_copy_map'            => { hint => 'ahcm'   },
                'Fieldmapper::action::hold_transit_copy'        => { hint => 'ahtc'   },
+               'Fieldmapper::action::transit_copy'     => { hint => 'atc'   },
 
 
                'Fieldmapper::ex'                               => { hint           => 'ex',