[sr-dev] git:master:65651271: srdb1: added partition column for location table

Daniel-Constantin Mierla miconda at gmail.com
Fri May 8 10:00:07 CEST 2015


Module: kamailio
Branch: master
Commit: 65651271cadd5499f8469b77d4d4ad38fa6867e8
URL: https://github.com/kamailio/kamailio/commit/65651271cadd5499f8469b77d4d4ad38fa6867e8

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-05-08T09:39:15+02:00

srdb1: added partition column for location table

- to be used for db-only nat keepalives distribution

---

Modified: lib/srdb1/schema/location.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/65651271cadd5499f8469b77d4d4ad38fa6867e8.diff
Patch: https://github.com/kamailio/kamailio/commit/65651271cadd5499f8469b77d4d4ad38fa6867e8.patch

---

diff --git a/lib/srdb1/schema/location.xml b/lib/srdb1/schema/location.xml
index a39cd52..decd95f 100644
--- a/lib/srdb1/schema/location.xml
+++ b/lib/srdb1/schema/location.xml
@@ -204,6 +204,15 @@
     </column>
 
 
+    <column>
+        <name>partition</name>
+        <type>int</type>
+        <size>11</size>
+        <default>0</default>
+        <description>The value to of the partition for keep alive requests</description>
+    </column>
+
+
     <index>
         <name>account_contact_idx</name>
         <colref linkend="username"/>




More information about the sr-dev mailing list