Skip to content

Commit

Permalink
lib/srdb1: make (setid,url) unique key instead of primary
Browse files Browse the repository at this point in the history
- conflicts with autoincrement in mysql

(cherry picked from commit b8e9d26)
  • Loading branch information
miconda committed Aug 30, 2017
1 parent 93283a6 commit adfc7f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/srdb1/schema/rtpengine.xml
Expand Up @@ -37,7 +37,7 @@
<column id="setid">
<name>setid</name>
<type>unsigned int</type>
<size>10</size>
<size>10</size>
<description>RTPEngine instance set ID</description>
<default>0</default>
<natural/>
Expand Down Expand Up @@ -80,7 +80,7 @@
<name>rtpengine_nodes</name>
<colref linkend="setid"/>
<colref linkend="url"/>
<primary/>
<unique/>
</index>

</table>

0 comments on commit adfc7f6

Please sign in to comment.