X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=remove_ou_data%2F08_remove_volumes.sql;h=819ac7530bfc270966e12dac1bfc98333adbf553;hp=71fc03a4c816f689f23228b47b4816d9d2f6b85b;hb=8813311a44353afdb573577959ccf676b5318e47;hpb=234d6c986f42cb7c245205bb299fa2c9d204e52a diff --git a/remove_ou_data/08_remove_volumes.sql b/remove_ou_data/08_remove_volumes.sql index 71fc03a..819ac75 100644 --- a/remove_ou_data/08_remove_volumes.sql +++ b/remove_ou_data/08_remove_volumes.sql @@ -24,6 +24,7 @@ DROP TABLE IF EXISTS esi.:vol_del_table; ALTER TABLE asset.call_number DISABLE RULE protect_cn_delete; ALTER TABLE asset.call_number DISABLE TRIGGER audit_asset_call_number_update_trigger; +ALTER TABLE asset.call_number DISABLE TRIGGER z_opac_vis_mat_view_tgr; BEGIN; @@ -49,5 +50,6 @@ COMMIT; ALTER TABLE asset.call_number ENABLE RULE protect_cn_delete; ALTER TABLE asset.call_number ENABLE TRIGGER audit_asset_call_number_update_trigger; +ALTER TABLE asset.call_number ENABLE TRIGGER z_opac_vis_mat_view_tgr; CREATE INDEX org_vol_bib_idx ON esi.:vol_del_table(record);