Skip to content

Commit

Permalink
Issue #3360: Add possibility to migrate from OTRS 7 to OTOBO 10.1 usi…
Browse files Browse the repository at this point in the history
…ng the default migration.pl script.
  • Loading branch information
StefanRother-OTOBO committed May 2, 2024
1 parent 5c87834 commit b6a03f5
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions Kernel/System/MigrateFromOTRS/Base.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,38 @@ sub DBSkipTables {
sessions
system_data
web_upload_cache
access_token
access_token_key
acl_deployment
article_customer_flag
article_data_mime_send_error
article_data_otrs_sms
chat
chat_channel
chat_flag
chat_invite
chat_message
chat_participant
chat_video
custom_page
custom_page_content
dtt
dtt_attachment
dtt_dynamic_field
dtt_group
dtt_service
external_frontend_config
notification_view
queue_sms_template
sc_category
sc_item
sc_item_content
sc_item_content_category
search_state
sms_template
ticket_customer_flag
workflow_task_template
workflow_template
);
}

Expand All @@ -1311,6 +1343,8 @@ sub DBRenameTables {
article_data_otrs_chat => 'article_data_otobo_chat',
groups => 'groups_table', # OTRS 6.0, Znuny 6.0
permission_groups => 'groups_table', # Znuny 6.1
pm_sequence_flow => 'pm_transition', # OTRS 7
pm_sequence_flow_action => 'pm_transition_action', # OTRS 7
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ sub _CheckOTRSRelease {
};
}

if ( $ReleaseInfo->{Version} !~ m/^6\.0(.*)$/ ) {
if ( $ReleaseInfo->{Version} !~ m/^6|7\.0(.*)$/ ) {
return {
Message => $Message,
Comment => $Self->{LanguageObject}->Translate( 'You are trying to run this script on the wrong framework version %s!', $ReleaseInfo->{Version} ),
Expand Down

0 comments on commit b6a03f5

Please sign in to comment.