Skip to content

Commit

Permalink
opensipsdbctl: Fix migration columns for the MySQL "dispatcher" table
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuchircu committed Feb 14, 2017
1 parent 2fa3486 commit 6062629
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/opensipsdbctl.mysql
Expand Up @@ -352,11 +352,11 @@ migrate_table ${dst_db}.dialplan \
${src_db}.dialplan \
"?id,?dpid,?pr,?match_op,?match_exp,?match_flags,?subst_exp,?repl_exp,?disabled,?attrs"

## DISPATCHER module (changes here, the flags and state columns)
## DISPATCHER module
migrate_table ${dst_db}.dispatcher \
"id,setid,destination,weight,attrs,description" \
"id,setid,destination,socket,state,weight,priority,attrs,description" \
${src_db}.dispatcher \
"?id,?setid,?destination,?weight,?attrs,?description"
"?id,?setid,?destination,?socket,?state,?weight,?priority,?attrs,?description"

## DOMAIN module
migrate_table ${dst_db}.domain \
Expand Down

0 comments on commit 6062629

Please sign in to comment.