Skip to content
Snippets Groups Projects
Verified Commit 8b40c394 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

add redirectAction migration SQL

parent a7afb7ff
No related branches found
No related tags found
No related merge requests found
......@@ -163,7 +163,7 @@ UPDATE groupbasket SET list_display = '[{"value":"getPriority","cssClasses":[],"
/* ACTIONS */
ALTER TABLE actions DROP COLUMN IF EXISTS component;
ALTER TABLE actions ADD COLUMN component CHARACTER VARYING (128);
UPDATE actions SET component = 'v1Action' WHERE action_page IN ('redirect', 'put_in_copy', 'process', 'index_mlb', 'validate_mail', 'sendFileWS', 'sendDataWS', 'sendToExternalSignatureBook', 'close_mail_and_index', 'close_mail_with_attachment', 'send_attachments_to_contact', 'send_to_contact_with_mandatory_attachment', 'visa_workflow', 'interrupt_visa', 'rejection_visa_redactor', 'rejection_visa_previous', 'redirect_visa_entity', 'send_to_visa', 'send_signed_docs', 'send_docs_to_recommendation', 'validate_recommendation', 'send_to_avis', 'avis_workflow', 'avis_workflow_simple', 'export_seda', 'check_acknowledgement', 'check_reply', 'purge_letter', 'reset_letter');
UPDATE actions SET component = 'v1Action' WHERE action_page IN ('put_in_copy', 'process', 'index_mlb', 'validate_mail', 'sendFileWS', 'sendDataWS', 'sendToExternalSignatureBook', 'close_mail_and_index', 'close_mail_with_attachment', 'send_attachments_to_contact', 'send_to_contact_with_mandatory_attachment', 'visa_workflow', 'interrupt_visa', 'rejection_visa_redactor', 'rejection_visa_previous', 'redirect_visa_entity', 'send_to_visa', 'send_signed_docs', 'send_docs_to_recommendation', 'validate_recommendation', 'send_to_avis', 'avis_workflow', 'avis_workflow_simple', 'export_seda', 'check_acknowledgement', 'check_reply', 'purge_letter', 'reset_letter');
UPDATE actions SET component = 'confirmAction' WHERE action_page = 'confirm_status' OR action_page is null OR action_page = '';
UPDATE actions SET component = 'updateDepartureDateAction' WHERE action_page = 'confirm_status_with_update_date';
UPDATE actions SET component = 'viewDoc' WHERE action_page = 'view';
......@@ -172,6 +172,7 @@ UPDATE actions SET component = 'enabledBasketPersistenceAction' WHERE action_pag
UPDATE actions SET component = 'disabledBasketPersistenceAction' WHERE action_page = 'set_persistent_mode_off';
UPDATE actions SET component = 'resMarkAsReadAction' WHERE action_page = 'mark_as_read';
UPDATE actions SET component = 'signatureBookAction' WHERE action_page = 'visa_mail';
UPDATE actions SET component = 'redirectAction' WHERE action_page = 'redirect';
/* Acknowledgement Receipts */
DROP TABLE IF EXISTS acknowledgement_receipts;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment