use base qw/action/;
__PACKAGE__->table('action_hold_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/);
+__PACKAGE__->columns(Essential => qw/source dest persistant_transfer target_copy
+ source_send_time dest_recv_time prev_hop
+ copy_status hold/);
#-------------------------------------------------------------------------------
__PACKAGE__->table('action_transit_copy');
__PACKAGE__->columns(Primary => 'id');
__PACKAGE__->columns(Essential => qw/source dest persistant_transfer target_copy
- source_send_time dest_recv_time prev_hop/);
+ source_send_time dest_recv_time prev_hop
+ copy_status/);
#-------------------------------------------------------------------------------
package action::unfulfilled_hold_list;
use base qw/action/;
-__PACKAGE__->table('action_.unfulfilled_hold_list');
+__PACKAGE__->table('action_unfulfilled_hold_list');
__PACKAGE__->columns(Primary => 'id');
__PACKAGE__->columns(Essential => qw/hold current_copy circ_lib fail_time /);
source INT NOT NULL REFERENCES actor.org_unit (id),
dest INT NOT NULL REFERENCES actor.org_unit (id),
prev_hop INT REFERENCES action.transit_copy (id),
+ copy_status INT NOT NULL REFERENCES config.copy_status (id),
persistant_transfer BOOL NOT NULL DEFAULT FALSE
);