[sr-dev] git:master:9c74b35b: lib/srdb1: added autoincrement id column for rtpengine

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 11 12:29:05 CEST 2017


Module: kamailio
Branch: master
Commit: 9c74b35b06465c9dde23971e342846491fa41c2c
URL: https://github.com/kamailio/kamailio/commit/9c74b35b06465c9dde23971e342846491fa41c2c

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-07-11T12:28:03+02:00

lib/srdb1: added autoincrement id column for rtpengine

---

Modified: src/lib/srdb1/schema/rtpengine.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/9c74b35b06465c9dde23971e342846491fa41c2c.diff
Patch: https://github.com/kamailio/kamailio/commit/9c74b35b06465c9dde23971e342846491fa41c2c.patch

---

diff --git a/src/lib/srdb1/schema/rtpengine.xml b/src/lib/srdb1/schema/rtpengine.xml
index 7b8f295057..02ba2afcac 100644
--- a/src/lib/srdb1/schema/rtpengine.xml
+++ b/src/lib/srdb1/schema/rtpengine.xml
@@ -24,6 +24,16 @@
         </db:para>
     </description>
 
+    <column id="id">
+        <name>id</name>
+        <type>unsigned int</type>
+        <size>&table_id_len;</size>
+        <autoincrement/>
+        <primary/>
+        <type db="dbtext">int,auto</type>
+        <description>Unique ID</description>
+	</column>
+
     <column id="setid">
         <name>setid</name>
         <type>unsigned int</type>




More information about the sr-dev mailing list