chrissharp123

Untitled

Feb 27th, 2026
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. BEGIN;
  2.  
  3. update config.circ_modifier set code = 'video' where code = 'video-2';
  4. update config.circ_modifier set code = 'video-ff' where code = 'video-2-ff';
  5.  
  6. update config.circ_matrix_matchpoint set circ_modifier = 'video' where circ_modifier in ('video-2');
  7. update config.circ_matrix_matchpoint set circ_modifier = 'video-ff' where circ_modifier in ('video-2-ff');
  8. delete from config.circ_matrix_matchpoint where circ_modifier = 'video-0';
  9. delete from config.circ_matrix_matchpoint where circ_modifier = 'video-0-ff';
  10.  
  11. update config.hold_matrix_matchpoint set circ_modifier = 'video' where circ_modifier in ('video-2');
  12. update config.hold_matrix_matchpoint set circ_modifier = 'video-ff' where circ_modifier in ('video-2-ff');
  13. delete from config.hold_matrix_matchpoint where circ_modifier = 'video-0';
  14. delete from config.hold_matrix_matchpoint where circ_modifier = 'video-0-ff';
  15.  
  16. update config.circ_limit_set_circ_mod_map set circ_mod = 'video' where circ_mod in ('video-2');
  17. update config.circ_limit_set_circ_mod_map set circ_mod = 'video-ff' where circ_mod = ('video-2-ff');
  18. delete from config.circ_limit_set_circ_mod_map where circ_mod = 'video-0';
  19. delete from config.circ_limit_set_circ_mod_map where circ_mod = 'video-0-ff';
  20.  
  21. update acq.distribution_formula_entry set circ_modifier = 'video' where circ_modifier in ('video-0', 'video-2');
  22.  
  23. update acq.lineitem_detail set circ_modifier = 'video' where circ_modifier in ('video-0', 'video-2');
  24. update acq.lineitem_detail set circ_modifier = 'video-ff' where circ_modifier in ('video-0-ff', 'video-2-ff');
  25.  
  26. update asset.copy set circ_modifier = 'video' where circ_modifier in ('video-0', 'video-2');
  27. update asset.copy set circ_modifier = 'video-ff' where circ_modifier in ('video-0-ff', 'video-2-ff');
  28.  
  29. delete from config.circ_modifier where code in ('video-0', 'video-0-ff');
  30.  
  31.  
  32. COMMIT;
  33.  
Advertisement
Add Comment
Please, Sign In to add comment