Skip to content

Commit

Permalink
database: Add migration support for OpenSIPS "3.4_to_3.5"
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuchircu committed Oct 1, 2024
1 parent 5bff458 commit 0f8bae9
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions opensipscli/modules/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,76 @@
]

DB_MIGRATIONS = {
'3.4_to_3.5': [
'acc',
'active_watchers',
'address',
'b2b_entities',
'b2b_logic',
'b2b_sca',
'cachedb',
'carrierfailureroute',
'carrierroute',
'cc_agents',
'cc_calls',
'cc_cdrs',
'cc_flows',
'closeddial',
'clusterer',
'cpl',
'dbaliases',
'dialog',
'dialplan',
'dispatcher',
'domain',
'domainpolicy',
'dr_carriers',
'dr_gateways',
'dr_groups',
'dr_partitions',
'dr_rules',
'emergency_report',
'emergency_routing',
'emergency_service_provider',
'fraud_detection',
'freeswitch',
'globalblacklist',
'grp',
'imc_members',
'imc_rooms',
'jwt_profiles',
'jwt_secrets',
'load_balancer',
'location',
'missed_calls',
'presentity',
'pua',
'qr_profiles',
'rc_clients',
'rc_demo_ratesheet',
'rc_ratesheets',
'rc_vendors',
're_grp',
'registrant',
'rls_presentity',
'rls_watchers',
'route_tree',
'rtpengine',
'rtpproxy_sockets',
'silo',
'sip_trace',
'smpp',
'speed_dial',
'subscriber',
'tcp_mgm',
'tls_mgm',
'uri',
'userblacklist',
'usr_preferences',
'watchers',
'xcap',
],

'3.3_to_3.4': [
'dispatcher', # changed in 3.4
'cc_agents',
Expand Down

0 comments on commit 0f8bae9

Please sign in to comment.