[sr-dev] git:tmp/usrloc-partition:c37d6d5c: srdb1: added partition column for location table

Daniel-Constantin Mierla miconda at gmail.com
Wed May 6 18:12:56 CEST 2015


Module: kamailio
Branch: tmp/usrloc-partition
Commit: c37d6d5c3d6f6e7b019f25096cf9f317b8272fe9
URL: https://github.com/kamailio/kamailio/commit/c37d6d5c3d6f6e7b019f25096cf9f317b8272fe9

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-05-06T18:08:50+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/c37d6d5c3d6f6e7b019f25096cf9f317b8272fe9.diff
Patch: https://github.com/kamailio/kamailio/commit/c37d6d5c3d6f6e7b019f25096cf9f317b8272fe9.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